FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigationViewTemplateSettings

    struct · ferroui-controls · v0.5.0

    struct NavigationViewTemplateSettings
    

    The values the template of a NavigationView binds to (TemplateSettings), which the navigation view sets. Each navigation view has its own.

    WinUI's Visibility values are bools here (true is Visible), as the IsVisible they are bound to.

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

    Returns a strong reference to this object.

    Source

    top_padding_property

    fn top_padding_property() -> &'static StyledProperty<f64>
    

    Defines the TopPadding property: the height above the pane and the content (the title bar of WinUI's window when the content extends into it; 0 in FerroUI).

    Source

    overflow_button_visibility_property

    fn overflow_button_visibility_property() -> &'static StyledProperty<bool>
    

    Defines the OverflowButtonVisibility property: whether the overflow button of the top pane is shown (always false: the overflow of the top pane is not ported).

    Source

    pane_toggle_button_visibility_property

    fn pane_toggle_button_visibility_property() -> &'static StyledProperty<bool>
    

    Defines the PaneToggleButtonVisibility property: whether the pane toggle button is shown.

    Source

    back_button_visibility_property

    fn back_button_visibility_property() -> &'static StyledProperty<bool>
    

    Defines the BackButtonVisibility property: whether the back button is shown.

    Source

    top_pane_visibility_property

    fn top_pane_visibility_property() -> &'static StyledProperty<bool>
    

    Defines the TopPaneVisibility property: whether the top pane is shown.

    Source

    left_pane_visibility_property

    fn left_pane_visibility_property() -> &'static StyledProperty<bool>
    

    Defines the LeftPaneVisibility property: whether the left pane is shown.

    Source

    single_selection_follows_focus_property

    fn single_selection_follows_focus_property() -> &'static StyledProperty<bool>
    

    Defines the SingleSelectionFollowsFocus property: whether the selection follows the focus.

    Source

    pane_toggle_button_width_property

    fn pane_toggle_button_width_property() -> &'static StyledProperty<f64>
    

    Defines the PaneToggleButtonWidth property: the width of the pane toggle button, the compact pane length.

    Source

    smaller_pane_toggle_button_width_property

    fn smaller_pane_toggle_button_width_property() -> &'static StyledProperty<f64>
    

    Defines the SmallerPaneToggleButtonWidth property: the compact pane length less 8, the width of the back button and of the icon column of the items.

    Source

    open_pane_length_property

    fn open_pane_length_property() -> &'static StyledProperty<f64>
    

    Defines the OpenPaneLength property: the open pane length, at most the width of the navigation view.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates the settings of a navigation view.

    Source

    top_padding

    fn top_padding(self: &Self) -> f64
    

    Gets the height above the pane and the content.

    Source

    overflow_button_visibility

    fn overflow_button_visibility(self: &Self) -> bool
    

    Gets whether the overflow button of the top pane is shown.

    Source

    pane_toggle_button_visibility

    fn pane_toggle_button_visibility(self: &Self) -> bool
    

    Gets whether the pane toggle button is shown.

    Source

    back_button_visibility

    fn back_button_visibility(self: &Self) -> bool
    

    Gets whether the back button is shown.

    Source

    top_pane_visibility

    fn top_pane_visibility(self: &Self) -> bool
    

    Gets whether the top pane is shown.

    Source

    left_pane_visibility

    fn left_pane_visibility(self: &Self) -> bool
    

    Gets whether the left pane is shown.

    Source

    single_selection_follows_focus

    fn single_selection_follows_focus(self: &Self) -> bool
    

    Gets whether the selection follows the focus.

    Source

    pane_toggle_button_width

    fn pane_toggle_button_width(self: &Self) -> f64
    

    Gets the width of the pane toggle button.

    Source

    smaller_pane_toggle_button_width

    fn smaller_pane_toggle_button_width(self: &Self) -> f64
    

    Gets the compact pane length less 8.

    Source

    open_pane_length

    fn open_pane_length(self: &Self) -> f64
    

    Gets the open pane length, at most the width of the navigation view.

    Source

    Trait implementations

    Availability

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