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§
Sourcefn content<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self
fn content<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self
Sourcefn default_label_position<M>(
self,
value: impl IntoProp<CommandBarDefaultLabelPosition, M>,
) -> Self
fn default_label_position<M>( self, value: impl IntoProp<CommandBarDefaultLabelPosition, M>, ) -> Self
Sourcefn is_dynamic_overflow_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self
fn is_dynamic_overflow_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn item_width_bottom<M>(self, value: impl IntoProp<f64, M>) -> Self
fn item_width_bottom<M>(self, value: impl IntoProp<f64, M>) -> Self
Sourcefn item_width_right<M>(self, value: impl IntoProp<f64, M>) -> Self
fn item_width_right<M>(self, value: impl IntoProp<f64, M>) -> Self
Sourcefn item_width_collapsed<M>(self, value: impl IntoProp<f64, M>) -> Self
fn item_width_collapsed<M>(self, value: impl IntoProp<f64, M>) -> Self
Sourcefn on_opening(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
fn on_opening(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
Handles CommandBar::opening_event.
Sourcefn on_opened(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
fn on_opened(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
Handles CommandBar::opened_event.
Sourcefn on_closing(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
fn on_closing(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
Handles CommandBar::closing_event.
Sourcefn on_closed(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
fn on_closed(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
Handles CommandBar::closed_event.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".