Skip to main content

CommandBarProps

Trait CommandBarProps 

Source
pub trait CommandBarProps: ElementBuilder {
Show 13 methods // Provided methods fn content<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self { ... } fn default_label_position<M>( self, value: impl IntoProp<CommandBarDefaultLabelPosition, M>, ) -> Self { ... } fn is_dynamic_overflow_enabled<M>( self, value: impl IntoProp<bool, M>, ) -> Self { ... } fn overflow_button_visibility<M>( self, value: impl IntoProp<CommandBarOverflowButtonVisibility, M>, ) -> Self { ... } fn is_open<M>(self, value: impl IntoProp<bool, M>) -> Self { ... } fn is_sticky<M>(self, value: impl IntoProp<bool, M>) -> Self { ... } fn item_width_bottom<M>(self, value: impl IntoProp<f64, M>) -> Self { ... } fn item_width_right<M>(self, value: impl IntoProp<f64, M>) -> Self { ... } fn item_width_collapsed<M>(self, value: impl IntoProp<f64, M>) -> Self { ... } fn on_opening(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self { ... } fn on_opened(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self { ... } fn on_closing(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self { ... } fn on_closed(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self { ... }
}
Expand description

The properties and routed events of CommandBar.

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§