SplitButtonImpl
trait · ferroui-controls · v0.5.0
trait SplitButtonImpl: ContentControlImpl + $crate::Upcast<SplitButton>
The overridable members introduced by the class.
Members
internal_is_checked
fn internal_is_checked(this: &Self) -> bool
A value indicating whether the button is currently checked.
This member exists only for the derived toggle split button and is unused (false) within the split button. Doing this allows the two controls to share a default style.
on_click_primary
fn on_click_primary(this: &Self, e: Option<&RoutedEventArgs>)
Invokes the Click event when the primary button part is
clicked. e are the event args from the internal click event.
on_click_secondary
fn on_click_secondary(this: &Self, e: Option<&RoutedEventArgs>)
Invoked when the secondary button part is clicked. e are the
event args from the internal click event.
on_flyout_opened
fn on_flyout_opened(this: &Self)
Invoked when the split button's flyout is opened.
on_flyout_closed
fn on_flyout_closed(this: &Self)
Invoked when the split button's flyout is closed.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.