FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    KeyboardNavigation

    struct · ferroui-base · v0.5.0

    struct KeyboardNavigation
    

    Defines attached properties that control keyboard navigation behaviour for a container.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    tab_index_property

    fn tab_index_property() -> &'static AttachedProperty<i32>
    

    Defines the TabIndex attached property.

    Source

    tab_navigation_property

    fn tab_navigation_property() -> &'static AttachedProperty<KeyboardNavigationMode>
    

    Defines the TabNavigation attached property.

    It defines how pressing the Tab key causes focus to be navigated between the children of the container.

    Source

    tab_once_active_element_property

    fn tab_once_active_element_property() -> &'static AttachedProperty<Option<Ref<InputElement>>>
    

    Defines the TabOnceActiveElement attached property.

    When focus enters a container which has its TabNavigation attached property set to Once, this property defines to which child the focus should move.

    Source

    is_tab_stop_property

    fn is_tab_stop_property() -> &'static AttachedProperty<bool>
    

    Defines the IsTabStop attached property.

    It determines if the control can receive focus by tab navigation.

    Source

    get_tab_index

    fn get_tab_index(element: &InputElement) -> i32
    

    Gets the TabIndex attached property for an element.

    Source

    set_tab_index

    fn set_tab_index(element: &InputElement, value: i32)
    

    Sets the TabIndex attached property for an element.

    Source

    get_tab_navigation

    fn get_tab_navigation(element: &InputElement) -> KeyboardNavigationMode
    

    Gets the TabNavigation attached property for a container.

    Source

    set_tab_navigation

    fn set_tab_navigation(element: &InputElement, value: KeyboardNavigationMode)
    

    Sets the TabNavigation attached property for a container.

    Source

    get_tab_once_active_element

    fn get_tab_once_active_element(element: &InputElement) -> Option<Ref<InputElement>>
    

    Gets the TabOnceActiveElement attached property for a container.

    Source

    set_tab_once_active_element

    fn set_tab_once_active_element(element: &InputElement, value: Option<Ref<InputElement>>)
    

    Sets the TabOnceActiveElement attached property for a container.

    Source

    set_is_tab_stop

    fn set_is_tab_stop(element: &InputElement, value: bool)
    

    Sets the IsTabStop attached property for an element.

    Source

    get_is_tab_stop

    fn get_is_tab_stop(element: &InputElement) -> bool
    

    Gets the IsTabStop attached property for an element.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • StaticType

    Availability

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