# DesignerWorkspace

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer/struct-designerworkspace/

**struct** · [`ferroui-designer`](/docs/0.5.0/api/ferroui-designer/) · v0.5.0

```rust
struct DesignerWorkspace
```

A native, embeddable workspace. The host retains the returned `Rc` for the lifetime of the
view. Event callbacks capture it weakly, and dropping it stops the preview timer.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L39)

## Members

- [`layout_helpers_visible`](#function-layout_helpers_visible)
- [`set_layout_helpers_visible`](#function-set_layout_helpers_visible)
- [`view_mode`](#function-view_mode)
- [`set_view_mode`](#function-set_view_mode)
- [`navigation_pane`](#function-navigation_pane)
- [`set_navigation_pane`](#function-set_navigation_pane)
- [`timeline_visible`](#function-timeline_visible)
- [`canvas_focused`](#function-canvas_focused)
- [`set_canvas_focused`](#function-set_canvas_focused)
- [`set_timeline_visible`](#function-set_timeline_visible)
- [`fit_artboard`](#function-fit_artboard)
- [`open_component_document`](#function-open_component_document)
- [`component_library`](#function-component_library)
- [`register_component_definition`](#function-register_component_definition)
- [`register_component_document`](#function-register_component_document)
- [`register_component_documents`](#function-register_component_documents)
- [`copy_component_definition`](#function-copy_component_definition)
- [`inspect_component`](#function-inspect_component)
- [`create_component`](#function-create_component)
- [`edit_component_on_canvas`](#function-edit_component_on_canvas)
- [`return_to_document`](#function-return_to_document)
- [`is_dirty`](#function-is_dirty)
- [`open_document`](#function-open_document)
- [`request_close`](#function-request_close)
- [`set_preview_dark`](#function-set_preview_dark)
- [`save_file`](#function-save_file)
- [`show_focus_order_editor`](#function-show_focus_order_editor)
- [`edit_outline`](#function-edit_outline)
- [`reveal_property_source`](#function-reveal_property_source)
- [`go_to_property_definition`](#function-go_to_property_definition)
- [`outline_grid`](#function-outline_grid)
- [`collapse_outline`](#function-collapse_outline)
- [`property_grid`](#function-property_grid)
- [`property_inspector_view`](#function-property_inspector_view)
- [`set_property_inspector_view`](#function-set_property_inspector_view)
- [`clear_property_filters`](#function-clear_property_filters)
- [`project_grid`](#function-project_grid)
- [`edit_layers`](#function-edit_layers)
- [`edit_layer_snapshot`](#function-edit_layer_snapshot)
- [`capture_canvas_selection`](#function-capture_canvas_selection)
- [`select_canvas_layer`](#function-select_canvas_layer)
- [`select_matching_native_type`](#function-select_matching_native_type)
- [`create_canvas_selection_menu`](#function-create_canvas_selection_menu)
- [`reset_selection_layout`](#function-reset_selection_layout)
- [`match_selection_size`](#function-match_selection_size)
- [`copy_appearance_properties`](#function-copy_appearance_properties)
- [`appearance_clipboard`](#function-appearance_clipboard)
- [`property_transfer_editor`](#function-property_transfer_editor)
- [`show_property_paste_editor`](#function-show_property_paste_editor)
- [`grid_track_editors`](#function-grid_track_editors)
- [`canvas_viewport`](#function-canvas_viewport)
- [`set_canvas_viewport`](#function-set_canvas_viewport)
- [`canvas_wheel_mode`](#function-canvas_wheel_mode)
- [`set_canvas_wheel_mode`](#function-set_canvas_wheel_mode)
- [`canvas_pan_tool`](#function-canvas_pan_tool)
- [`set_canvas_pan_tool`](#function-set_canvas_pan_tool)
- [`artboard_to_canvas`](#function-artboard_to_canvas)
- [`canvas_to_artboard`](#function-canvas_to_artboard)
- [`zoom_canvas_at`](#function-zoom_canvas_at)
- [`pan_canvas`](#function-pan_canvas)
- [`set_zoom_percent`](#function-set_zoom_percent)
- [`fit_selection`](#function-fit_selection)
- [`canvas_guides`](#function-canvas_guides)
- [`set_canvas_guides`](#function-set_canvas_guides)
- [`add_canvas_guide`](#function-add_canvas_guide)
- [`move_canvas_guide`](#function-move_canvas_guide)
- [`remove_canvas_guide`](#function-remove_canvas_guide)
- [`selected_canvas_guide`](#function-selected_canvas_guide)
- [`canvas_guide_snapshot`](#function-canvas_guide_snapshot)
- [`apply_canvas_guides`](#function-apply_canvas_guides)
- [`canvas_guide_view_snapshot`](#function-canvas_guide_view_snapshot)
- [`restore_canvas_guide_view`](#function-restore_canvas_guide_view)
- [`preview_environment`](#function-preview_environment)
- [`set_preview_environment`](#function-set_preview_environment)
- [`rotate_preview`](#function-rotate_preview)
- [`preview_stages`](#function-preview_stages)
- [`preview_stage`](#function-preview_stage)
- [`preview_stage_epoch`](#function-preview_stage_epoch)
- [`preview_stage_control`](#function-preview_stage_control)
- [`preview_stages_visible`](#function-preview_stages_visible)
- [`preview_stage_manifest`](#function-preview_stage_manifest)
- [`preview_stage_editor`](#function-preview_stage_editor)
- [`preview_stage_view`](#function-preview_stage_view)
- [`preview_stage_matrix_editor`](#function-preview_stage_matrix_editor)
- [`plan_preview_stage_matrix`](#function-plan_preview_stage_matrix)
- [`compare_preview_stage_matrix`](#function-compare_preview_stage_matrix)
- [`preview_stage_image`](#function-preview_stage_image)
- [`add_preview_stage`](#function-add_preview_stage)
- [`update_preview_stage`](#function-update_preview_stage)
- [`duplicate_preview_stage`](#function-duplicate_preview_stage)
- [`remove_preview_stage`](#function-remove_preview_stage)
- [`move_preview_stage`](#function-move_preview_stage)
- [`set_preview_stage_paused`](#function-set_preview_stage_paused)
- [`refresh_preview_stage`](#function-refresh_preview_stage)
- [`refresh_all_preview_stages`](#function-refresh_all_preview_stages)
- [`compare_preview_stage`](#function-compare_preview_stage)
- [`set_active_preview_stage`](#function-set_active_preview_stage)
- [`restore_preview_stage_manifest`](#function-restore_preview_stage_manifest)
- [`set_preview_stages_visible`](#function-set_preview_stages_visible)
- [`show_preview_stage_editor`](#function-show_preview_stage_editor)
- [`show_preview_stage_matrix_editor`](#function-show_preview_stage_matrix_editor)
- [`preview_stage_model`](#function-preview_stage_model)
- [`preview_stage_runtime_tree`](#function-preview_stage_runtime_tree)
- [`preview_stage_source_is_current`](#function-preview_stage_source_is_current)
- [`preview_stage_image_source_is_current`](#function-preview_stage_image_source_is_current)
- [`select_preview_stage_runtime`](#function-select_preview_stage_runtime)
- [`save_preview_stage_image_file`](#function-save_preview_stage_image_file)
- [`save_preview_stages_file`](#function-save_preview_stages_file)
- [`load_preview_stages_file`](#function-load_preview_stages_file)
- [`preview_prototype_playback`](#function-preview_prototype_playback)
- [`preview_prototype_control`](#function-preview_prototype_control)
- [`start_preview_prototype`](#function-start_preview_prototype)
- [`activate_preview_prototype_link`](#function-activate_preview_prototype_link)
- [`back_preview_prototype`](#function-back_preview_prototype)
- [`close_preview_prototype_overlay`](#function-close_preview_prototype_overlay)
- [`restart_preview_prototype`](#function-restart_preview_prototype)
- [`stop_preview_prototype`](#function-stop_preview_prototype)
- [`preview_prototype`](#function-preview_prototype)
- [`preview_prototype_model`](#function-preview_prototype_model)
- [`preview_prototype_view`](#function-preview_prototype_view)
- [`preview_prototype_player_view`](#function-preview_prototype_player_view)
- [`preview_prototype_flow_editor`](#function-preview_prototype_flow_editor)
- [`preview_prototype_link_editor`](#function-preview_prototype_link_editor)
- [`preview_prototype_visible`](#function-preview_prototype_visible)
- [`set_preview_prototype`](#function-set_preview_prototype)
- [`preview_prototype_elements`](#function-preview_prototype_elements)
- [`set_preview_prototype_visible`](#function-set_preview_prototype_visible)
- [`show_preview_prototype_flow_editor`](#function-show_preview_prototype_flow_editor)
- [`show_preview_prototype_link_editor`](#function-show_preview_prototype_link_editor)
- [`open_solution`](#function-open_solution)
- [`set_solution`](#function-set_solution)
- [`select_project`](#function-select_project)
- [`solution`](#function-solution)
- [`document_uris`](#function-document_uris)
- [`activate_document`](#function-activate_document)
- [`close_document`](#function-close_document)
- [`save_all_documents`](#function-save_all_documents)
- [`start_project_task`](#function-start_project_task)
- [`cancel_project_task`](#function-cancel_project_task)
- [`project_task_status`](#function-project_task_status)
- [`project_task_output`](#function-project_task_output)
- [`is_discovering_solution`](#function-is_discovering_solution)
- [`selected_project`](#function-selected_project)
- [`poll_project_work`](#function-poll_project_work)
- [`sharing_status`](#function-sharing_status)
- [`sharing_controller`](#function-sharing_controller)
- [`host_sharing`](#function-host_sharing)
- [`join_sharing`](#function-join_sharing)
- [`resume_sharing`](#function-resume_sharing)
- [`disconnect_sharing`](#function-disconnect_sharing)
- [`show_sharing`](#function-show_sharing)
- [`language_service`](#function-language_service)
- [`try_language_service`](#function-try_language_service)
- [`synchronize_language_service`](#function-synchronize_language_service)
- [`select_source_span`](#function-select_source_span)
- [`navigate_to`](#function-navigate_to)
- [`apply_source_completion`](#function-apply_source_completion)
- [`apply_language_edits`](#function-apply_language_edits)
- [`select_keyframe`](#function-select_keyframe)
- [`select_keyframes`](#function-select_keyframes)
- [`selected_keyframes`](#function-selected_keyframes)
- [`move_selected_keyframes`](#function-move_selected_keyframes)
- [`duplicate_selected_keyframes`](#function-duplicate_selected_keyframes)
- [`remove_selected_keyframes`](#function-remove_selected_keyframes)
- [`timeline_frame_rate`](#function-timeline_frame_rate)
- [`set_timeline_frame_rate`](#function-set_timeline_frame_rate)
- [`new`](#function-new)
- [`with_uri`](#function-with_uri)
- [`register_property_editor`](#function-register_property_editor)
- [`control`](#function-control)
- [`session`](#function-session)
- [`design_surface`](#function-design_surface)
- [`source_editor`](#function-source_editor)
- [`outline_mode`](#function-outline_mode)
- [`set_outline_mode`](#function-set_outline_mode)
- [`artboard_size`](#function-artboard_size)
- [`set_artboard_size`](#function-set_artboard_size)
- [`zoom`](#function-zoom)
- [`set_zoom`](#function-set_zoom)
- [`refresh`](#function-refresh)
- [`register_asset`](#function-register_asset)
- [`asset_toolbox`](#function-asset_toolbox)

<a id="function-layout_helpers_visible"></a>

### layout_helpers_visible

```rust
fn layout_helpers_visible(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L59)

<a id="function-set_layout_helpers_visible"></a>

### set_layout_helpers_visible

```rust
fn set_layout_helpers_visible(self: &Self, visible: bool)
```

Show panel-specific canvas features without changing the authored document.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L64)

<a id="function-view_mode"></a>

### view_mode

```rust
fn view_mode(self: &Self) -> WorkspaceViewMode
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L72)

<a id="function-set_view_mode"></a>

### set_view_mode

```rust
fn set_view_mode(self: &Self, mode: WorkspaceViewMode)
```

Switches the visible editor without reloading the document or applying pending text.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L77)

<a id="function-navigation_pane"></a>

### navigation_pane

```rust
fn navigation_pane(self: &Self) -> NavigationPane
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L134)

<a id="function-set_navigation_pane"></a>

### set_navigation_pane

```rust
fn set_navigation_pane(self: &Self, pane: NavigationPane)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L138)

<a id="function-timeline_visible"></a>

### timeline_visible

```rust
fn timeline_visible(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L157)

<a id="function-canvas_focused"></a>

### canvas_focused

```rust
fn canvas_focused(self: &Self) -> bool
```

Whether the workspace is temporarily giving its side docks and timeline to the canvas.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L164)

<a id="function-set_canvas_focused"></a>

### set_canvas_focused

```rust
fn set_canvas_focused(self: &Self, focused: bool)
```

Temporarily hide the side docks and timeline without rebuilding their controls.
Returning restores their measured widths, timeline height and previous visibility.
Document selection, pending source, panel modes and scroll positions stay intact.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L171)

<a id="function-set_timeline_visible"></a>

### set_timeline_visible

```rust
fn set_timeline_visible(self: &Self, visible: bool)
```

Restores a user's resized timeline height when reopening the pane.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L216)

<a id="function-fit_artboard"></a>

### fit_artboard

```rust
fn fit_artboard(self: &Self) -> Result<(), String>
```

Fits the whole artboard using the measured viewport and the canvas padding.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_shell.rs#L243)

<a id="function-open_component_document"></a>

### open_component_document

```rust
fn open_component_document(self: &Rc<Self>, id: &str) -> Result<(), String>
```

Open a provided control definition as a normal source tab, preserving the current
document's dirty buffer and undo history. Existing tabs keep their current edits.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_component_types.rs#L107)

<a id="function-component_library"></a>

### component_library

```rust
fn component_library(self: &Self) -> Option<Rc<ComponentLibrary>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_components.rs#L124)

<a id="function-register_component_definition"></a>

### register_component_definition

```rust
fn register_component_definition(self: &Rc<Self>, asset: DesignerDefinitionAsset) -> Result<(), String>
```

Register actual source for a custom control's design-time template or theme.
Registration changes the library, never the active document or its history.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_components.rs#L130)

<a id="function-register_component_document"></a>

### register_component_document

```rust
fn register_component_document(self: &Rc<Self>, uri: &str, source: &str) -> Result<usize, String>
```

Catalog control roots, templates, themes and styles from a registered XAML document. Inherited
namespace declarations are retained in each independently copyable fragment.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_components.rs#L151)

<a id="function-register_component_documents"></a>

### register_component_documents

```rust
fn register_component_documents<'a>(self: &Rc<Self>, documents: impl IntoIterator<Item = (&'a str, &'a str)>) -> Result<usize, String>
```

Validate and register a group of source providers atomically, then refresh
the Library once. An invalid source leaves every existing provider intact.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_components.rs#L161)

<a id="function-copy_component_definition"></a>

### copy_component_definition

```rust
fn copy_component_definition(self: &Self, id: &str, owner: NodeId, key: &str) -> Result<NodeId, String>
```

Create an independent authored copy of a registered definition and the local
resources it requires. The complete import shares one undo/collaboration edit.
Opening the resulting canvas scope remains a separate presentation operation.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_components.rs#L195)

<a id="function-inspect_component"></a>

### inspect_component

```rust
fn inspect_component(self: &Rc<Self>, node: NodeId) -> Result<(), String>
```

Browsing retains the canvas selection so a resource can be applied to it.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_components.rs#L226)

<a id="function-create_component"></a>

### create_component

```rust
fn create_component(self: &Rc<Self>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_components.rs#L252)

<a id="function-edit_component_on_canvas"></a>

### edit_component_on_canvas

```rust
fn edit_component_on_canvas(self: &Rc<Self>, node: NodeId) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_components.rs#L263)

<a id="function-return_to_document"></a>

### return_to_document

```rust
fn return_to_document(self: &Rc<Self>) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_components.rs#L287)

<a id="function-is_dirty"></a>

### is_dirty

```rust
fn is_dirty(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_files.rs#L18)

<a id="function-open_document"></a>

### open_document

```rust
fn open_document(self: &Rc<Self>, source: String, uri: String) -> Result<(), String>
```

Open source at its URI, retaining the previous tab and its history. A newly opened
document starts its own history and is detached from the previous collaboration room.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_files.rs#L24)

<a id="function-request_close"></a>

### request_close

```rust
fn request_close(self: &Rc<Self>, close: impl Fn() -> () + 'static) -> bool
```

Return true when a close request was deferred for a native save/discard/cancel prompt.
The host supplies a callback that performs the already-approved close without prompting again.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_files.rs#L43)

<a id="function-set_preview_dark"></a>

### set_preview_dark

```rust
fn set_preview_dark(self: &Self, dark: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_files.rs#L73)

<a id="function-save_file"></a>

### save_file

```rust
async fn save_file(self: &Rc<Self>, save_as: bool) -> Result<bool, String>
```

Save the authored buffer, including incomplete XAML. Returns false on picker cancellation.
The saved snapshot is tracked independently of later editor changes, so a concurrent
change is never mistakenly marked saved. Existing files are checked for external changes.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_files.rs#L258)

<a id="function-show_focus_order_editor"></a>

### show_focus_order_editor

```rust
fn show_focus_order_editor(self: &Rc<Self>) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_focus_order.rs#L83)

<a id="function-edit_outline"></a>

### edit_outline

```rust
fn edit_outline(self: &Rc<Self>, command: OutlineCommand) -> Result<(), String>
```

Runs a structural tree command after validating that the visible source hierarchy
still describes the current document. The native grid retains/reveals selection.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/inspector_drag.rs#L1020)

<a id="function-reveal_property_source"></a>

### reveal_property_source

```rust
fn reveal_property_source(self: &Rc<Self>, property: &str) -> Result<(), String>
```

Select the original authored attribute or property element in the XAML editor.
Navigation preserves selection, history and authored values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_inspector_navigation.rs#L161)

<a id="function-go_to_property_definition"></a>

### go_to_property_definition

```rust
fn go_to_property_definition(self: &Rc<Self>, property: &str) -> Result<(), String>
```

Navigate to a uniquely resolved resource or named binding source. Theme and
name scopes are respected; ambiguous or external targets remain explicit errors.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/property_inspector_navigation.rs#L171)

<a id="function-outline_grid"></a>

### outline_grid

```rust
fn outline_grid(self: &Self) -> Ref<TreeDataGrid>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/inspector_controls.rs#L1231)

<a id="function-collapse_outline"></a>

### collapse_outline

```rust
fn collapse_outline(self: &Self)
```

Collapse the current source or runtime hierarchy while retaining the ancestors
of the current selection. This is view state and creates no document edit.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/inspector_controls.rs#L1237)

<a id="function-property_grid"></a>

### property_grid

```rust
fn property_grid(self: &Self) -> Ref<TreeDataGrid>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/inspector_controls.rs#L1243)

<a id="function-property_inspector_view"></a>

### property_inspector_view

```rust
fn property_inspector_view(self: &Self) -> PropertyInspectorView
```

Current arrangement and value-source filter. These preferences never author XAML.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/inspector_controls.rs#L1248)

<a id="function-set_property_inspector_view"></a>

### set_property_inspector_view

```rust
fn set_property_inspector_view(self: &Rc<Self>, view: PropertyInspectorView)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/inspector_controls.rs#L1252)

<a id="function-clear_property_filters"></a>

### clear_property_filters

```rust
fn clear_property_filters(self: &Rc<Self>)
```

Clear search and source filtering while retaining the selected arrangement.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/inspector_controls.rs#L1283)

<a id="function-project_grid"></a>

### project_grid

```rust
fn project_grid(self: &Self) -> Ref<TreeDataGrid>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/inspector_controls.rs#L1292)

<a id="function-edit_layers"></a>

### edit_layers

```rust
fn edit_layers(self: &Rc<Self>, command: LayerCommand) -> Result<(), String>
```

Runs a command against the current authored selection. Presentation commands do not
flush a pending source buffer or create document/undo/collaboration operations.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_layers.rs#L9)

<a id="function-edit_layer_snapshot"></a>

### edit_layer_snapshot

```rust
fn edit_layer_snapshot(self: &Rc<Self>, snapshot: &LayerEditSnapshot, command: LayerCommand) -> Result<(), String>
```

Source rows retain guarded identities rather than reusing local NodeIds after a tab,
source, scope or layer-view change. An obsolete row cannot hide or lock a new object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_layers.rs#L21)

<a id="function-capture_canvas_selection"></a>

### capture_canvas_selection

```rust
fn capture_canvas_selection(self: &Self, position: Point) -> Result<CanvasSelectionSnapshot, String>
```

Capture an explicit layer picker without selecting the control under the pointer.
All coordinates and candidates come from the same native hit-testing path used
by ordinary canvas selection and overlap cycling.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_selection_tools.rs#L127)

<a id="function-select_canvas_layer"></a>

### select_canvas_layer

```rust
fn select_canvas_layer(self: &Rc<Self>, snapshot: &CanvasSelectionSnapshot, node: NodeId) -> Result<(), String>
```

Accept only a candidate from the captured hit stack while the complete source,
view, selection, and native geometry still describe that context.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_selection_tools.rs#L197)

<a id="function-select_matching_native_type"></a>

### select_matching_native_type

```rust
fn select_matching_native_type(self: &Rc<Self>) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_selection_tools.rs#L213)

<a id="function-create_canvas_selection_menu"></a>

### create_canvas_selection_menu

```rust
fn create_canvas_selection_menu(self: &Rc<Self>, snapshot: &CanvasSelectionSnapshot) -> Result<Ref<ContextMenu>, String>
```

Build a native menu for a host-owned context presentation. Opening or dismissing
it is observational; the menu's callbacks retain the accepted selection snapshot.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_selection_tools.rs#L226)

<a id="function-reset_selection_layout"></a>

### reset_selection_layout

```rust
fn reset_selection_layout(self: &Rc<Self>, reset: LayoutReset) -> Result<(), String>
```

Remove the selected controls' local layout values in one source transaction.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_selection_layout.rs#L8)

<a id="function-match_selection_size"></a>

### match_selection_size

```rust
fn match_selection_size(self: &Rc<Self>, mode: LayoutMatch) -> Result<(), String>
```

Match the first selected control's native dimensions through the active layout adapters.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_selection_layout.rs#L16)

<a id="function-copy_appearance_properties"></a>

### copy_appearance_properties

```rust
fn copy_appearance_properties(self: &Rc<Self>) -> Result<(), String>
```

Capture authored appearance without changing the operating-system text clipboard.
The retained clipboard is shared by this workspace's document tabs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_property_transfer.rs#L28)

<a id="function-appearance_clipboard"></a>

### appearance_clipboard

```rust
fn appearance_clipboard(self: &Self) -> Option<PropertyClipboard>
```

Current immutable clipboard, available to embedders for their own paste UI.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_property_transfer.rs#L47)

<a id="function-property_transfer_editor"></a>

### property_transfer_editor

```rust
fn property_transfer_editor(self: &Self) -> Option<Rc<PropertyTransferEditor>>
```

Most recently opened staged picker. Retained controls reject writes after dismissal.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_property_transfer.rs#L52)

<a id="function-show_property_paste_editor"></a>

### show_property_paste_editor

```rust
fn show_property_paste_editor(self: &Rc<Self>) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_property_transfer.rs#L56)

<a id="function-grid_track_editors"></a>

### grid_track_editors

```rust
fn grid_track_editors(self: &Self) -> Vec<Rc<GridTrackEditor>>
```

Current contextual editors, in row/column order when the selection belongs to a Grid.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_layout.rs#L179)

<a id="function-canvas_viewport"></a>

### canvas_viewport

```rust
fn canvas_viewport(self: &Self) -> CanvasViewport
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L81)

<a id="function-set_canvas_viewport"></a>

### set_canvas_viewport

```rust
fn set_canvas_viewport(self: &Self, viewport: CanvasViewport)
```

Restore a host-owned view. This never applies pending source or mutates undo history.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L86)

<a id="function-canvas_wheel_mode"></a>

### canvas_wheel_mode

```rust
fn canvas_wheel_mode(self: &Self) -> CanvasWheelMode
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L94)

<a id="function-set_canvas_wheel_mode"></a>

### set_canvas_wheel_mode

```rust
fn set_canvas_wheel_mode(self: &Self, mode: CanvasWheelMode)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L98)

<a id="function-canvas_pan_tool"></a>

### canvas_pan_tool

```rust
fn canvas_pan_tool(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L111)

<a id="function-set_canvas_pan_tool"></a>

### set_canvas_pan_tool

```rust
fn set_canvas_pan_tool(self: &Self, active: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L115)

<a id="function-artboard_to_canvas"></a>

### artboard_to_canvas

```rust
fn artboard_to_canvas(self: &Self, point: Point) -> Point
```

Map an authored point through the same transform used for rendering and input.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L129)

<a id="function-canvas_to_artboard"></a>

### canvas_to_artboard

```rust
fn canvas_to_artboard(self: &Self, point: Point) -> Point
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L133)

<a id="function-zoom_canvas_at"></a>

### zoom_canvas_at

```rust
fn zoom_canvas_at(self: &Self, zoom: f64, anchor: Point) -> Result<(), String>
```

Cursor-anchored zoom. `anchor` is relative to the ArtboardScroll viewport control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L138)

<a id="function-pan_canvas"></a>

### pan_canvas

```rust
fn pan_canvas(self: &Self, delta: Vector) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L144)

<a id="function-set_zoom_percent"></a>

### set_zoom_percent

```rust
fn set_zoom_percent(self: &Self, text: &str) -> Result<(), String>
```

Accepts a percentage with an optional `%`; invalid drafts do not change the view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L150)

<a id="function-fit_selection"></a>

### fit_selection

```rust
fn fit_selection(self: &Self) -> Result<(), String>
```

Fit the actual transformed union of the selected authored native visuals.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_navigation.rs#L168)

<a id="function-canvas_guides"></a>

### canvas_guides

```rust
fn canvas_guides(self: &Self) -> CanvasGuideSettings
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L73)

<a id="function-set_canvas_guides"></a>

### set_canvas_guides

```rust
fn set_canvas_guides(self: &Self, value: CanvasGuideSettings) -> Result<(), String>
```

Applies a complete local view atomically. It is available to viewers and never
stages/applies source text, rebuilds the preview, or changes collaboration history.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L79)

<a id="function-add_canvas_guide"></a>

### add_canvas_guide

```rust
fn add_canvas_guide(self: &Self, axis: CanvasGuideAxis, position: f64) -> Result<u64, String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L99)

<a id="function-move_canvas_guide"></a>

### move_canvas_guide

```rust
fn move_canvas_guide(self: &Self, id: u64, position: f64) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L107)

<a id="function-remove_canvas_guide"></a>

### remove_canvas_guide

```rust
fn remove_canvas_guide(self: &Self, id: u64) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L119)

<a id="function-selected_canvas_guide"></a>

### selected_canvas_guide

```rust
fn selected_canvas_guide(self: &Self) -> Option<u64>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L130)

<a id="function-canvas_guide_snapshot"></a>

### canvas_guide_snapshot

```rust
fn canvas_guide_snapshot(self: &Self) -> CanvasGuideEditSnapshot
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L134)

<a id="function-apply_canvas_guides"></a>

### apply_canvas_guides

```rust
fn apply_canvas_guides(self: &Self, snapshot: &CanvasGuideEditSnapshot, value: CanvasGuideSettings) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L146)

<a id="function-canvas_guide_view_snapshot"></a>

### canvas_guide_view_snapshot

```rust
fn canvas_guide_view_snapshot(self: &Self) -> CanvasGuideViewSnapshot
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L174)

<a id="function-restore_canvas_guide_view"></a>

### restore_canvas_guide_view

```rust
fn restore_canvas_guide_view(self: &Self, snapshot: &CanvasGuideViewSnapshot) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_guides.rs#L186)

<a id="function-preview_environment"></a>

### preview_environment

```rust
fn preview_environment(self: &Self) -> PreviewEnvironment
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_environment.rs#L129)

<a id="function-set_preview_environment"></a>

### set_preview_environment

```rust
fn set_preview_environment(self: &Self, value: PreviewEnvironment) -> Result<(), String>
```

Applies inherited preview conditions. Explicit document values retain normal native
precedence. The source buffer, undo history, collaboration and editor chrome are intact.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_environment.rs#L140)

<a id="function-rotate_preview"></a>

### rotate_preview

```rust
fn rotate_preview(self: &Self) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_environment.rs#L198)

<a id="function-preview_stages"></a>

### preview_stages

```rust
fn preview_stages(self: &Self) -> Vec<PreviewStageInfo>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L48)

<a id="function-preview_stage"></a>

### preview_stage

```rust
fn preview_stage(self: &Self, id: PreviewStageId) -> Option<PreviewStageInfo>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L51)

<a id="function-preview_stage_epoch"></a>

### preview_stage_epoch

```rust
fn preview_stage_epoch(self: &Self) -> u64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L54)

<a id="function-preview_stage_control"></a>

### preview_stage_control

```rust
fn preview_stage_control(self: &Self, id: PreviewStageId) -> Option<Ref<Control>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L57)

<a id="function-preview_stages_visible"></a>

### preview_stages_visible

```rust
fn preview_stages_visible(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L60)

<a id="function-preview_stage_manifest"></a>

### preview_stage_manifest

```rust
fn preview_stage_manifest(self: &Self) -> PreviewStageManifest
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L63)

<a id="function-preview_stage_editor"></a>

### preview_stage_editor

```rust
fn preview_stage_editor(self: &Self) -> Option<Rc<PreviewStageEditor>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L66)

<a id="function-preview_stage_view"></a>

### preview_stage_view

```rust
fn preview_stage_view(self: &Self) -> Option<Rc<PreviewStageView>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L69)

<a id="function-preview_stage_matrix_editor"></a>

### preview_stage_matrix_editor

```rust
fn preview_stage_matrix_editor(self: &Self) -> Option<Rc<crate::PreviewStageMatrixEditor>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L72)

<a id="function-plan_preview_stage_matrix"></a>

### plan_preview_stage_matrix

```rust
fn plan_preview_stage_matrix(self: &Self, id: PreviewStageId, matrix: &crate::PreviewStageMatrix) -> Result<Vec<PreviewStageConfiguration>, String>
```

Observe the exact bounded product before creating any native controls.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L77)

<a id="function-compare_preview_stage_matrix"></a>

### compare_preview_stage_matrix

```rust
fn compare_preview_stage_matrix(self: &Rc<Self>, id: PreviewStageId, matrix: crate::PreviewStageMatrix) -> Result<Vec<PreviewStageId>, String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L102)

<a id="function-preview_stage_image"></a>

### preview_stage_image

```rust
fn preview_stage_image(self: &Self, id: PreviewStageId, options: crate::PreviewStageExportOptions) -> Result<crate::PreviewStageImage, String>
```

Capture the current accepted native view without refreshing, arranging or
advancing it. Pending/stale/failed views cannot be exported as current source.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L120)

<a id="function-add_preview_stage"></a>

### add_preview_stage

```rust
fn add_preview_stage(self: &Rc<Self>, configuration: PreviewStageConfiguration) -> Result<PreviewStageId, String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L154)

<a id="function-update_preview_stage"></a>

### update_preview_stage

```rust
fn update_preview_stage(self: &Rc<Self>, id: PreviewStageId, configuration: PreviewStageConfiguration) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L163)

<a id="function-duplicate_preview_stage"></a>

### duplicate_preview_stage

```rust
fn duplicate_preview_stage(self: &Rc<Self>, id: PreviewStageId) -> Result<PreviewStageId, String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L177)

<a id="function-remove_preview_stage"></a>

### remove_preview_stage

```rust
fn remove_preview_stage(self: &Rc<Self>, id: PreviewStageId) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L186)

<a id="function-move_preview_stage"></a>

### move_preview_stage

```rust
fn move_preview_stage(self: &Rc<Self>, id: PreviewStageId, index: usize) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L191)

<a id="function-set_preview_stage_paused"></a>

### set_preview_stage_paused

```rust
fn set_preview_stage_paused(self: &Rc<Self>, id: PreviewStageId, paused: bool) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L200)

<a id="function-refresh_preview_stage"></a>

### refresh_preview_stage

```rust
fn refresh_preview_stage(self: &Rc<Self>, id: PreviewStageId) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L214)

<a id="function-refresh_all_preview_stages"></a>

### refresh_all_preview_stages

```rust
fn refresh_all_preview_stages(self: &Rc<Self>) -> Vec<(PreviewStageId, String)>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L220)

<a id="function-compare_preview_stage"></a>

### compare_preview_stage

```rust
fn compare_preview_stage(self: &Rc<Self>, id: PreviewStageId, variants: Vec<(String, PreviewEnvironment)>) -> Result<Vec<PreviewStageId>, String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L228)

<a id="function-set_active_preview_stage"></a>

### set_active_preview_stage

```rust
fn set_active_preview_stage(self: &Rc<Self>, id: PreviewStageId) -> Result<(), String>
```

Explicit stage activation brings the correct source, definition and environment
into the authoritative authoring preview before the inspector changes context.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L244)

<a id="function-restore_preview_stage_manifest"></a>

### restore_preview_stage_manifest

```rust
fn restore_preview_stage_manifest(self: &Rc<Self>, manifest: PreviewStageManifest) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L254)

<a id="function-set_preview_stages_visible"></a>

### set_preview_stages_visible

```rust
fn set_preview_stages_visible(self: &Rc<Self>, visible: bool) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L266)

<a id="function-show_preview_stage_editor"></a>

### show_preview_stage_editor

```rust
fn show_preview_stage_editor(self: &Rc<Self>, id: Option<PreviewStageId>, anchor: &Control) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L757)

<a id="function-show_preview_stage_matrix_editor"></a>

### show_preview_stage_matrix_editor

```rust
fn show_preview_stage_matrix_editor(self: &Rc<Self>, id: PreviewStageId, anchor: &Control) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_preview_stages.rs#L819)

<a id="function-preview_stage_model"></a>

### preview_stage_model

```rust
fn preview_stage_model(self: &Self) -> String
```

An optimistic identity for automation and asynchronous stage-file dialogs.
Reading it does not construct previews, apply drafts or change selection.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_stage_sources.rs#L59)

<a id="function-preview_stage_runtime_tree"></a>

### preview_stage_runtime_tree

```rust
fn preview_stage_runtime_tree(self: &Self, id: PreviewStageId, kind: TreeKind) -> Result<Vec<RuntimeNode>, String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_stage_sources.rs#L80)

<a id="function-preview_stage_source_is_current"></a>

### preview_stage_source_is_current

```rust
fn preview_stage_source_is_current(self: &Self, id: PreviewStageId) -> bool
```

Check current buffers without synchronizing or constructing a preview.
Pending editor drafts retire source mappings before the next UI refresh.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_stage_sources.rs#L96)

<a id="function-preview_stage_image_source_is_current"></a>

### preview_stage_image_source_is_current

```rust
fn preview_stage_image_source_is_current(self: &Self, id: PreviewStageId) -> bool
```

Image capture may use a paused frame while its accepted source and all
native include dependencies remain exact. This never enables selection/input.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_stage_sources.rs#L108)

<a id="function-select_preview_stage_runtime"></a>

### select_preview_stage_runtime

```rust
fn select_preview_stage_runtime(self: &Rc<Self>, id: PreviewStageId, inspector_id: u64) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_stage_sources.rs#L118)

<a id="function-save_preview_stage_image_file"></a>

### save_preview_stage_image_file

```rust
async fn save_preview_stage_image_file(self: &Rc<Self>, id: crate::PreviewStageId, options: crate::PreviewStageExportOptions) -> Result<bool, String>
```

Freeze the native PNG before opening the save picker. A later source edit or
removal cannot substitute a newer frame for the image the user chose to save.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_stage_files.rs#L29)

<a id="function-save_preview_stages_file"></a>

### save_preview_stages_file

```rust
async fn save_preview_stages_file(self: &Rc<Self>) -> Result<bool, String>
```

Export the collection captured when the picker opens. Newer edits remain
local and source-file dirty markers are unaffected by this independent save.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_stage_files.rs#L108)

<a id="function-load_preview_stages_file"></a>

### load_preview_stages_file

```rust
async fn load_preview_stages_file(self: &Rc<Self>) -> Result<bool, String>
```

Restore validated local presentation state. Source URIs are references to
already open documents; this operation never reads arbitrary referenced files.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_stage_files.rs#L156)

<a id="function-preview_prototype_playback"></a>

### preview_prototype_playback

```rust
fn preview_prototype_playback(self: &Self) -> Option<PreviewPrototypePlaybackInfo>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype_player.rs#L68)

<a id="function-preview_prototype_control"></a>

### preview_prototype_control

```rust
fn preview_prototype_control(self: &Self, stage: PreviewStageId) -> Option<Ref<Control>>
```

A native view in the isolated player, addressed by its original board ID.
It is never the comparison card's native control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype_player.rs#L87)

<a id="function-start_preview_prototype"></a>

### start_preview_prototype

```rust
fn start_preview_prototype(self: &Rc<Self>, flow_name: &str) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype_player.rs#L93)

<a id="function-activate_preview_prototype_link"></a>

### activate_preview_prototype_link

```rust
fn activate_preview_prototype_link(self: &Rc<Self>, index: usize) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype_player.rs#L156)

<a id="function-back_preview_prototype"></a>

### back_preview_prototype

```rust
fn back_preview_prototype(self: &Rc<Self>) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype_player.rs#L201)

<a id="function-close_preview_prototype_overlay"></a>

### close_preview_prototype_overlay

```rust
fn close_preview_prototype_overlay(self: &Rc<Self>) -> Result<(), String>
```

Close the top overlay without consuming screen navigation history.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype_player.rs#L216)

<a id="function-restart_preview_prototype"></a>

### restart_preview_prototype

```rust
fn restart_preview_prototype(self: &Rc<Self>) -> Result<(), String>
```

Restart the journey while retaining the play session's native control state.
Exit and Play create fresh native views when a full reset is wanted.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype_player.rs#L241)

<a id="function-stop_preview_prototype"></a>

### stop_preview_prototype

```rust
fn stop_preview_prototype(self: &Rc<Self>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype_player.rs#L255)

<a id="function-preview_prototype"></a>

### preview_prototype

```rust
fn preview_prototype(self: &Self) -> PreviewPrototype
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L93)

<a id="function-preview_prototype_model"></a>

### preview_prototype_model

```rust
fn preview_prototype_model(self: &Self) -> String
```

Includes the accepted source/board token and the independent playback epoch.
Reading this token never creates controls, updates layout or advances input.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L99)

<a id="function-preview_prototype_view"></a>

### preview_prototype_view

```rust
fn preview_prototype_view(self: &Self) -> Option<Rc<PreviewPrototypeView>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L107)

<a id="function-preview_prototype_player_view"></a>

### preview_prototype_player_view

```rust
fn preview_prototype_player_view(self: &Self) -> Option<Rc<PreviewPrototypePlayerView>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L110)

<a id="function-preview_prototype_flow_editor"></a>

### preview_prototype_flow_editor

```rust
fn preview_prototype_flow_editor(self: &Self) -> Option<Rc<PreviewPrototypeFlowEditor>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L113)

<a id="function-preview_prototype_link_editor"></a>

### preview_prototype_link_editor

```rust
fn preview_prototype_link_editor(self: &Self) -> Option<Rc<PreviewPrototypeLinkEditor>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L119)

<a id="function-preview_prototype_visible"></a>

### preview_prototype_visible

```rust
fn preview_prototype_visible(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L125)

<a id="function-set_preview_prototype"></a>

### set_preview_prototype

```rust
fn set_preview_prototype(self: &Rc<Self>, graph: PreviewPrototype) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L152)

<a id="function-preview_prototype_elements"></a>

### preview_prototype_elements

```rust
fn preview_prototype_elements(self: &Self) -> Vec<PreviewPrototypeElementChoice>
```

Authored, unambiguous source choices from accepted native stage trees.
The returned anchors contain no runtime inspector or session-local node IDs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L168)

<a id="function-set_preview_prototype_visible"></a>

### set_preview_prototype_visible

```rust
fn set_preview_prototype_visible(self: &Rc<Self>, visible: bool) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L221)

<a id="function-show_preview_prototype_flow_editor"></a>

### show_preview_prototype_flow_editor

```rust
fn show_preview_prototype_flow_editor(self: &Rc<Self>, index: Option<usize>, anchor: &Control) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L395)

<a id="function-show_preview_prototype_link_editor"></a>

### show_preview_prototype_link_editor

```rust
fn show_preview_prototype_link_editor(self: &Rc<Self>, index: Option<usize>, source: Option<PreviewStageId>, anchor: &Control) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_prototype.rs#L456)

<a id="function-open_solution"></a>

### open_solution

```rust
fn open_solution(self: &Rc<Self>, path: impl AsRef<std::path::Path>) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L44)

<a id="function-set_solution"></a>

### set_solution

```rust
fn set_solution(self: &Rc<Self>, solution: Solution) -> Result<(), String>
```

Attach a host-discovered solution without starting another discovery process.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L68)

<a id="function-select_project"></a>

### select_project

```rust
fn select_project(self: &Self, index: usize) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L81)

<a id="function-solution"></a>

### solution

```rust
fn solution(self: &Self) -> Option<Solution>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L95)

<a id="function-document_uris"></a>

### document_uris

```rust
fn document_uris(self: &Self) -> Vec<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L102)

<a id="function-activate_document"></a>

### activate_document

```rust
fn activate_document(self: &Rc<Self>, uri: &str) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L142)

<a id="function-close_document"></a>

### close_document

```rust
fn close_document(self: &Rc<Self>, uri: &str, discard: bool) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L206)

<a id="function-save_all_documents"></a>

### save_all_documents

```rust
fn save_all_documents(self: &Rc<Self>) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L256)

<a id="function-start_project_task"></a>

### start_project_task

```rust
fn start_project_task(self: &Rc<Self>, kind: TaskKind, release: bool) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L355)

<a id="function-cancel_project_task"></a>

### cancel_project_task

```rust
fn cancel_project_task(self: &Self) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L392)

<a id="function-project_task_status"></a>

### project_task_status

```rust
fn project_task_status(self: &Self) -> Option<TaskStatus>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L398)

<a id="function-project_task_output"></a>

### project_task_output

```rust
fn project_task_output(self: &Self) -> String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L405)

<a id="function-is_discovering_solution"></a>

### is_discovering_solution

```rust
fn is_discovering_solution(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L411)

<a id="function-selected_project"></a>

### selected_project

```rust
fn selected_project(self: &Self) -> usize
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L414)

<a id="function-poll_project_work"></a>

### poll_project_work

```rust
fn poll_project_work(self: &Rc<Self>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_project.rs#L417)

<a id="function-sharing_status"></a>

### sharing_status

```rust
fn sharing_status(self: &Self) -> Option<SharingStatus>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_sharing.rs#L122)

<a id="function-sharing_controller"></a>

### sharing_controller

```rust
fn sharing_controller(self: &Self) -> Option<Rc<SharingController>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_sharing.rs#L128)

<a id="function-host_sharing"></a>

### host_sharing

```rust
fn host_sharing(self: &Rc<Self>, options: SharingOptions) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_sharing.rs#L131)

<a id="function-join_sharing"></a>

### join_sharing

```rust
fn join_sharing(self: &Rc<Self>, invitation: String, options: SharingOptions) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_sharing.rs#L140)

<a id="function-resume_sharing"></a>

### resume_sharing

```rust
fn resume_sharing(self: &Rc<Self>, options: SharingOptions) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_sharing.rs#L151)

<a id="function-disconnect_sharing"></a>

### disconnect_sharing

```rust
fn disconnect_sharing(self: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_sharing.rs#L168)

<a id="function-show_sharing"></a>

### show_sharing

```rust
fn show_sharing(self: &Rc<Self>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_sharing.rs#L174)

<a id="function-language_service"></a>

### language_service

```rust
fn language_service(self: &Self) -> std::cell::RefMut<'_, LanguageService>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/source_editor.rs#L43)

<a id="function-try_language_service"></a>

### try_language_service

```rust
fn try_language_service(self: &Self) -> Result<std::cell::RefMut<'_, LanguageService>, String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/source_editor.rs#L46)

<a id="function-synchronize_language_service"></a>

### synchronize_language_service

```rust
fn synchronize_language_service(self: &Rc<Self>) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/source_editor.rs#L53)

<a id="function-select_source_span"></a>

### select_source_span

```rust
fn select_source_span(self: &Self, span: SourceSpan)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/source_editor.rs#L169)

<a id="function-navigate_to"></a>

### navigate_to

```rust
fn navigate_to(self: &Rc<Self>, location: &Location) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/source_editor.rs#L301)

<a id="function-apply_source_completion"></a>

### apply_source_completion

```rust
fn apply_source_completion(self: &Self, expected_revision: u64, span: SourceSpan, text: &str) -> Result<(), String>
```

Apply a versioned completion even while its surrounding XAML is an incomplete draft.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/source_editor.rs#L311)

<a id="function-apply_language_edits"></a>

### apply_language_edits

```rust
fn apply_language_edits(self: &Rc<Self>, edit: WorkspaceEdit) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/source_editor.rs#L336)

<a id="function-select_keyframe"></a>

### select_keyframe

```rust
fn select_keyframe(self: &Rc<Self>, target: NodeId, property: &str, time: f64) -> Result<(), String>
```

Selects an authored keyframe, seeks its time, and displays its contextual editor.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_timeline.rs#L609)

<a id="function-select_keyframes"></a>

### select_keyframes

```rust
fn select_keyframes(self: &Rc<Self>, keys: &[(NodeId, String, f64)]) -> Result<(), String>
```

Selects keys across object/property lanes. The final key becomes the primary editor.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_timeline.rs#L640)

<a id="function-selected_keyframes"></a>

### selected_keyframes

```rust
fn selected_keyframes(self: &Self) -> Vec<(NodeId, String, f64)>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_timeline.rs#L682)

<a id="function-move_selected_keyframes"></a>

### move_selected_keyframes

```rust
fn move_selected_keyframes(self: &Rc<Self>, delta: f64) -> Result<(), String>
```

One source transaction and one undo step, including moves across multiple tracks.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_timeline.rs#L691)

<a id="function-duplicate_selected_keyframes"></a>

### duplicate_selected_keyframes

```rust
fn duplicate_selected_keyframes(self: &Rc<Self>, delta: f64) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_timeline.rs#L696)

<a id="function-remove_selected_keyframes"></a>

### remove_selected_keyframes

```rust
fn remove_selected_keyframes(self: &Rc<Self>) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_timeline.rs#L701)

<a id="function-timeline_frame_rate"></a>

### timeline_frame_rate

```rust
fn timeline_frame_rate(self: &Self) -> Option<u32>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_timeline.rs#L706)

<a id="function-set_timeline_frame_rate"></a>

### set_timeline_frame_rate

```rust
fn set_timeline_frame_rate(self: &Self, rate: Option<u32>)
```

Changes only the editing grid; authored seconds and the running animation are unchanged.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_timeline.rs#L710)

<a id="function-new"></a>

### new

```rust
fn new(source: impl Into<String>) -> Result<Rc<Self>, String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L90)

<a id="function-with_uri"></a>

### with_uri

```rust
fn with_uri(source: impl Into<String>, uri: String) -> Result<Rc<Self>, String>
```

Preserves the original document URI for relative resource and include resolution.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L94)

<a id="function-register_property_editor"></a>

### register_property_editor

```rust
fn register_property_editor(self: &Rc<Self>, editor: Rc<dyn PropertyEditorFactory>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L183)

<a id="function-control"></a>

### control

```rust
fn control(self: &Self) -> Ref<Control>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L188)

<a id="function-session"></a>

### session

```rust
fn session(self: &Self) -> Rc<RefCell<DesignerSession>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L191)

<a id="function-design_surface"></a>

### design_surface

```rust
fn design_surface(self: &Self) -> Ref<DesignSurface>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L194)

<a id="function-source_editor"></a>

### source_editor

```rust
fn source_editor(self: &Self) -> Ref<TextBox>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L197)

<a id="function-outline_mode"></a>

### outline_mode

```rust
fn outline_mode(self: &Self) -> OutlineMode
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L213)

<a id="function-set_outline_mode"></a>

### set_outline_mode

```rust
fn set_outline_mode(self: &Rc<Self>, mode: OutlineMode)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L216)

<a id="function-artboard_size"></a>

### artboard_size

```rust
fn artboard_size(self: &Self) -> (f64, f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L226)

<a id="function-set_artboard_size"></a>

### set_artboard_size

```rust
fn set_artboard_size(self: &Self, width: f64, height: f64) -> Result<(), String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L229)

<a id="function-zoom"></a>

### zoom

```rust
fn zoom(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L236)

<a id="function-set_zoom"></a>

### set_zoom

```rust
fn set_zoom(self: &Self, zoom: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L239)

<a id="function-refresh"></a>

### refresh

```rust
fn refresh(self: &Rc<Self>, force: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L620)

<a id="function-register_asset"></a>

### register_asset

```rust
fn register_asset(self: &Rc<Self>, asset: crate::asset_toolbox::DesignerAsset) -> Result<(), String>
```

Register project-specific controls in the native searchable asset catalog.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L773)

<a id="function-asset_toolbox"></a>

### asset_toolbox

```rust
fn asset_toolbox(self: &Self) -> Option<Rc<crate::AssetToolbox>>
```

Access the reusable catalog to choose Grid/List presentation or configure filtering.
Browsing state is independent of the authored document and its undo history.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace.rs#L786)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Same`
- `Drop`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
