FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CommandBarProps

    trait · ferroui-view · v0.5.0

    trait CommandBarProps: ElementBuilder
    

    The properties and routed events of CommandBar.

    View source

    Members

    content

    fn content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets CommandBar::content_property.

    Source

    default_label_position

    fn default_label_position<M>(self: Self, value: impl IntoProp<ferroui_controls::CommandBarDefaultLabelPosition, M>) -> Self
    

    Sets CommandBar::default_label_position_property.

    Source

    is_dynamic_overflow_enabled

    fn is_dynamic_overflow_enabled<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets CommandBar::is_dynamic_overflow_enabled_property.

    Source

    overflow_button_visibility

    fn overflow_button_visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::CommandBarOverflowButtonVisibility, M>) -> Self
    

    Sets CommandBar::overflow_button_visibility_property.

    Source

    is_open

    fn is_open<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets CommandBar::is_open_property.

    Source

    is_sticky

    fn is_sticky<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets CommandBar::is_sticky_property.

    Source

    item_width_bottom

    fn item_width_bottom<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets CommandBar::item_width_bottom_property.

    Source

    item_width_right

    fn item_width_right<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets CommandBar::item_width_right_property.

    Source

    item_width_collapsed

    fn item_width_collapsed<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets CommandBar::item_width_collapsed_property.

    Source

    on_opening

    fn on_opening(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles CommandBar::opening_event.

    Source

    on_opened

    fn on_opened(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles CommandBar::opened_event.

    Source

    on_closing

    fn on_closing(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles CommandBar::closing_event.

    Source

    on_closed

    fn on_closed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles CommandBar::closed_event.

    Source

    Trait implementations

    Availability

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