NavigationViewAutomationPeer
struct · ferroui-controls · v0.5.0
struct NavigationViewAutomationPeer
The automation peer of a NavigationView: the selection pattern over its realized
containers, as WinUI's peer. The peer holds its owner weakly.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<NavigationViewAutomationPeer>
Returns a strong reference to this object.
new
fn new(owner: &NavigationView) -> Ref<Self>
Creates the peer of owner.
owner
fn owner(self: &Self) -> Ref<NavigationView>
Gets the navigation view of the peer.
get_selection
fn get_selection(self: &Self) -> Vec<Ref<AutomationPeer>>
Gets the peer of the container of the selected item (GetSelection).
can_select_multiple
fn can_select_multiple(self: &Self) -> bool
One item at most is selected.
is_selection_required
fn is_selection_required(self: &Self) -> bool
No selection is required.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAutomationPeerImplExtControlAutomationPeerImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<NavigationViewAutomationPeer>StaticTypeObjectTypeSubclassable<T>FerroObjectImplControlAutomationPeerImplAutomationPeerImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.