pub trait SplitButtonProps: ElementBuilder {
// Provided methods
fn command<M>(
self,
value: impl IntoProp<Option<Rc<dyn ICommand>>, M>,
) -> Self { ... }
fn command_parameter<M>(
self,
value: impl IntoProp<Option<BoxedValue>, M>,
) -> Self { ... }
fn flyout<M>(self, value: impl IntoProp<Option<Ref<FlyoutBase>>, M>) -> Self { ... }
fn hot_key<M>(self, value: impl IntoProp<Option<KeyGesture>, M>) -> Self { ... }
fn on_click(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self { ... }
}Expand description
The properties and routed events of SplitButton.
Provided Methods§
Sourcefn command_parameter<M>(
self,
value: impl IntoProp<Option<BoxedValue>, M>,
) -> Self
fn command_parameter<M>( self, value: impl IntoProp<Option<BoxedValue>, M>, ) -> Self
Sourcefn hot_key<M>(self, value: impl IntoProp<Option<KeyGesture>, M>) -> Self
fn hot_key<M>(self, value: impl IntoProp<Option<KeyGesture>, M>) -> Self
Sourcefn on_click(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
fn on_click(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self
Handles SplitButton::click_event.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".