FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TabControlPreviousAction

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

    struct TabControlPreviousAction
    

    Moves the target TabControl to the previous tab.

    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<TabControlPreviousAction>
    

    Returns a strong reference to this object.

    Source

    tab_control_property

    fn tab_control_property() -> &'static StyledProperty<Option<ElementRef<TabControl>>>
    

    Identifies the TabControl property.

    Deviation (DEVIATIONS.md, Behaviors): the action does not own the tab control, 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

    tab_control

    fn tab_control(self: &Self) -> Option<Ref<TabControl>>
    

    Gets or sets the tab control instance this action will operate on. This is a property of the object model. Markup resolves a name given for it to the named element.

    Source

    set_tab_control

    fn set_tab_control(self: &Self, value: impl Into<Nullable<TabControl>>)
    

    Source

    Trait implementations

    Availability

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