FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SplitViewTogglePaneAction

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct SplitViewTogglePaneAction
    

    Toggles the is_pane_open state of a SplitView when executed.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<SplitViewTogglePaneAction>
    

    Returns a strong reference to this object.

    Source

    target_split_view_property

    fn target_split_view_property() -> &'static StyledProperty<Option<ElementRef<SplitView>>>
    

    Identifies the TargetSplitView property.

    Deviation (DEVIATIONS.md, Behaviors): the action does not own the split view, so the value is an element reference.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates an action.

    Source

    target_split_view

    fn target_split_view(self: &Self) -> Option<Ref<SplitView>>
    

    Gets or sets the target SplitView. If not set, the sender is used. This is a property of the object model; markup resolves a name given for it to the named split view.

    Source

    set_target_split_view

    fn set_target_split_view(self: &Self, value: impl Into<Nullable<SplitView>>)
    

    Source

    Trait implementations

    Availability

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