FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<NavigationViewItemHeader>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a header.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.