NavigationViewItemHeader
struct · ferroui-controls · v0.5.0
struct NavigationViewItemHeader
A heading of a group of items of a NavigationView (WinUI's
NavigationViewItemHeader). It is not focusable or enabled, as WinUI's style sets.
The control sets WinUI's states as pseudo-classes: :header-text-collapsed (a top level header
of a closed compact pane) and :top-mode (the top pane). The template of the WinUI theme
presents the content in the text block HeaderText; the part
NavigationViewItemHeaderRootGrid is indented by the depth of the header.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<NavigationViewItemHeader>
Returns a strong reference to this object.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a header.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtContentControlImplExtControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<NavigationViewItemHeader>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplVisualImplLayoutableImplInteractiveImplInputElementImplControlImplContentControlImplTemplatedControlImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.