CommandBarProps
trait · ferroui-view · v0.5.0
trait CommandBarProps: ElementBuilder
The properties and routed events of CommandBar.
Members
contentdefault_label_positionis_dynamic_overflow_enabledoverflow_button_visibilityis_openis_stickyitem_width_bottomitem_width_rightitem_width_collapsedon_openingon_openedon_closingon_closed
content
fn content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets CommandBar::content_property.
default_label_position
fn default_label_position<M>(self: Self, value: impl IntoProp<ferroui_controls::CommandBarDefaultLabelPosition, M>) -> Self
Sets CommandBar::default_label_position_property.
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.
overflow_button_visibility
fn overflow_button_visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::CommandBarOverflowButtonVisibility, M>) -> Self
Sets CommandBar::overflow_button_visibility_property.
is_open
fn is_open<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets CommandBar::is_open_property.
is_sticky
fn is_sticky<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets CommandBar::is_sticky_property.
item_width_bottom
fn item_width_bottom<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets CommandBar::item_width_bottom_property.
item_width_right
fn item_width_right<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets CommandBar::item_width_right_property.
item_width_collapsed
fn item_width_collapsed<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets CommandBar::item_width_collapsed_property.
on_opening
fn on_opening(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles CommandBar::opening_event.
on_opened
fn on_opened(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles CommandBar::opened_event.
on_closing
fn on_closing(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles CommandBar::closing_event.
on_closed
fn on_closed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles CommandBar::closed_event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.