FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CommandBarSeparator

    struct · ferroui-controls · v0.5.0

    struct CommandBarSeparator
    

    A visual separator for use in a CommandBar.

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

    Returns a strong reference to this object.

    Source

    is_compact_property

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

    Defines the IsCompact property.

    Source

    is_in_overflow_property

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

    Defines the IsInOverflow property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a command bar separator.

    Source

    as_command_bar_element

    fn as_command_bar_element(self: &Self) -> Rc<dyn ICommandBarElement>
    

    The separator as a command bar element.

    Source

    is_compact

    fn is_compact(self: &Self) -> bool
    

    Gets whether the separator is in compact mode.

    Source

    set_is_compact

    fn set_is_compact(self: &Self, value: bool)
    

    Sets whether the separator is in compact mode.

    Source

    is_in_overflow

    fn is_in_overflow(self: &Self) -> bool
    

    Gets whether the separator is displayed inside the overflow popup.

    Source

    set_is_in_overflow

    fn set_is_in_overflow(self: &Self, value: bool)
    

    Sets whether the separator is displayed inside the overflow popup. Set automatically by the command bar when moving items between primary and overflow.

    Source

    Trait implementations

    Availability

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