pub struct KeyboardNavigation;Expand description
Defines attached properties that control keyboard navigation behaviour for a container.
Implementations§
Sourcepub fn tab_index_property() -> &'static AttachedProperty<i32>
pub fn tab_index_property() -> &'static AttachedProperty<i32>
Defines the TabIndex attached property.
Defines the TabNavigation attached property.
It defines how pressing the Tab key causes focus to be navigated between the children of the container.
Sourcepub fn tab_once_active_element_property() -> &'static AttachedProperty<Option<Ref<InputElement>>>
pub 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.
Sourcepub fn is_tab_stop_property() -> &'static AttachedProperty<bool>
pub fn is_tab_stop_property() -> &'static AttachedProperty<bool>
Defines the IsTabStop attached property.
It determines if the control can receive focus by tab navigation.
Sourcepub fn get_tab_index(element: &InputElement) -> i32
pub fn get_tab_index(element: &InputElement) -> i32
Gets the TabIndex attached property for an element.
Sourcepub fn set_tab_index(element: &InputElement, value: i32)
pub fn set_tab_index(element: &InputElement, value: i32)
Sets the TabIndex attached property for an element.
Gets the TabNavigation attached property for a container.
Sets the TabNavigation attached property for a container.
Sourcepub fn get_tab_once_active_element(
element: &InputElement,
) -> Option<Ref<InputElement>>
pub fn get_tab_once_active_element( element: &InputElement, ) -> Option<Ref<InputElement>>
Gets the TabOnceActiveElement attached property for a container.
Sourcepub fn set_tab_once_active_element(
element: &InputElement,
value: Option<Ref<InputElement>>,
)
pub fn set_tab_once_active_element( element: &InputElement, value: Option<Ref<InputElement>>, )
Sets the TabOnceActiveElement attached property for a container.
Sourcepub fn set_is_tab_stop(element: &InputElement, value: bool)
pub fn set_is_tab_stop(element: &InputElement, value: bool)
Sets the IsTabStop attached property for an element.
Sourcepub fn get_is_tab_stop(element: &InputElement) -> bool
pub fn get_is_tab_stop(element: &InputElement) -> bool
Gets the IsTabStop attached property for an element.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more