pub enum KeyboardNavigationMode {
Continue,
Cycle,
Contained,
Once,
None,
Local,
}Expand description
Describes how focus should be moved by directional or tab keys.
Variants§
Continue
Items in the container will be cycled through, and focus will be moved to the previous/next container after the first/last control in the container.
Cycle
Items in the container will be cycled through, and moving past the first or last control in the container will cause the last/first control to be focused.
Contained
Items in the container will be cycled through and focus will stop moving when the edge of the container is reached.
Once
When focus is moved into the container, the control described by the
TabOnceActiveElement attached property on the container will be
focused. When focus moves away from this control, focus will move to
the previous/next container.
None
The container’s children will not be focused when using the tab key.
Local
TabIndexes are considered on local subtree only inside this container.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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