FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigationViewItemSeparator

    struct · ferroui-controls · v0.5.0

    struct NavigationViewItemSeparator
    

    A line between items of a NavigationView (WinUI's NavigationViewItemSeparator). It is not focusable or enabled, as WinUI's style sets.

    The control sets WinUI's states as pseudo-classes: :horizontal-line-compact (a closed compact pane) and :vertical-line (the top pane); the part NavigationViewItemSeparatorRootGrid is indented by the depth of the separator.

    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<NavigationViewItemSeparator>
    

    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 separator.

    Source

    Trait implementations

    Availability

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