CommandBarButtonProps
trait · ferroui-view · v0.5.0
trait CommandBarButtonProps: ElementBuilder
The properties and routed events of CommandBarButton.
Members
label
fn label<M>(self: Self, value: impl IntoProp<Option<String>, M>) -> Self
Sets CommandBarButton::label_property.
icon
fn icon<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets CommandBarButton::icon_property.
is_compact
fn is_compact<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets CommandBarButton::is_compact_property.
dynamic_overflow_order
fn dynamic_overflow_order<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets CommandBarButton::dynamic_overflow_order_property.
label_position
fn label_position<M>(self: Self, value: impl IntoProp<ferroui_controls::CommandBarDefaultLabelPosition, M>) -> Self
Sets CommandBarButton::label_position_property.
is_in_overflow
fn is_in_overflow<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets CommandBarButton::is_in_overflow_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.