NavigationViewItemAutomationPeer
struct · ferroui-controls · v0.5.0
struct NavigationViewItemAutomationPeer
The automation peer of a NavigationViewItem: a list item (a tab item in the top pane) with
the selection item pattern and, for an item with children, the expand and collapse pattern;
like WinUI's peer at the pin it has no invoke pattern.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<NavigationViewItemAutomationPeer>
Returns a strong reference to this object.
new
fn new(owner: &NavigationViewItem) -> Ref<Self>
Creates the peer of owner.
owner
fn owner(self: &Self) -> Ref<NavigationViewItem>
Gets the item of the peer.
expand_collapse_state
fn expand_collapse_state(self: &Self) -> ExpandCollapseState
Gets whether the item is expanded.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAutomationPeerImplExtControlAutomationPeerImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<NavigationViewItemAutomationPeer>StaticTypeObjectTypeSubclassable<T>FerroObjectImplControlAutomationPeerImplAutomationPeerImplDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.