FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ControlDetailsViewModel

    struct · ferroui-diagnostics · v0.5.0

    struct ControlDetailsViewModel
    

    The details of an object: its properties, the frames of its values with their setters, its pseudo-classes and its layout.

    View source

    Members

    new

    fn new(tree_page: &Rc<TreePageViewModel>, ferro_object: &FerroObject, pinned_properties: PinnedProperties) -> Rc<Self>
    

    Source

    can_navigate_to_parent_property

    fn can_navigate_to_parent_property(self: &Self) -> bool
    

    Source

    tree_page

    fn tree_page(self: &Self) -> Option<Rc<TreePageViewModel>>
    

    The tree page the details belong to (held weakly: the page holds the details).

    Source

    properties_view

    fn properties_view(self: &Self) -> Option<Rc<PropertiesView>>
    

    The properties of the selected entity, grouped, sorted and filtered (the DataGridCollectionView of the managed original).

    Source

    applied_frames

    fn applied_frames(self: &Self) -> FerroList<Rc<ValueFrameViewModel>>
    

    Source

    pseudo_classes

    fn pseudo_classes(self: &Self) -> FerroList<Rc<PseudoClassViewModel>>
    

    Source

    selected_entity

    fn selected_entity(self: &Self) -> Option<BoxedValue>
    

    Source

    set_selected_entity

    fn set_selected_entity(self: &Self, value: Option<BoxedValue>)
    

    Source

    selected_entity_name

    fn selected_entity_name(self: &Self) -> Option<String>
    

    Source

    set_selected_entity_name

    fn set_selected_entity_name(self: &Self, value: Option<String>)
    

    Source

    selected_entity_type

    fn selected_entity_type(self: &Self) -> Option<String>
    

    Source

    set_selected_entity_type

    fn set_selected_entity_type(self: &Self, value: Option<String>)
    

    Source

    selected_property

    fn selected_property(self: &Self) -> Option<PropertyViewModelRef>
    

    Source

    set_selected_property

    fn set_selected_property(self: &Self, value: Option<PropertyViewModelRef>)
    

    Sets the selected property, and selects its row in the grid (the two-way binding of SelectedItem of the managed original).

    Source

    snapshot_frames

    fn snapshot_frames(self: &Self) -> bool
    

    Source

    set_snapshot_frames

    fn set_snapshot_frames(self: &Self, value: bool)
    

    Source

    show_inactive_frames

    fn show_inactive_frames(self: &Self) -> bool
    

    Source

    set_show_inactive_frames

    fn set_show_inactive_frames(self: &Self, value: bool)
    

    Source

    frames_status

    fn frames_status(self: &Self) -> Option<String>
    

    Source

    set_frames_status

    fn set_frames_status(self: &Self, value: Option<String>)
    

    Source

    layout

    fn layout(self: &Self) -> Option<Rc<ControlLayoutViewModel>>
    

    Source

    update_style_filters

    fn update_style_filters(self: &Self)
    

    Source

    dispose

    fn dispose(self: &Self)
    

    Source

    navigate_to_selected_property

    fn navigate_to_selected_property(self: &Self)
    

    Source

    navigate_to_parent_property

    fn navigate_to_parent_property(self: &Self)
    

    Source

    navigate_to_property

    fn navigate_to_property(self: &Self, o: BoxedValue, entity_name: Option<String>)
    

    Source

    select_property

    fn select_property(self: &Self, property: &'static FerroProperty)
    

    Selects the property property of the object of the details, navigating back to the object first.

    Source

    update_properties_view

    fn update_properties_view(self: &Self, show_implemented_interfaces: bool)
    

    Source

    toggle_pinned_property

    fn toggle_pinned_property(self: &Self, parameter: Option<BoxedValue>)
    

    Pins or unpins the property parameter (a property view model, or the row of one).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.