MenuItemImpl
trait · ferroui-controls · v0.5.0
trait MenuItemImpl: HeaderedSelectingItemsControlImpl + $crate::Upcast<MenuItem>
The overridable members introduced by the class.
Members
on_click
fn on_click(this: &Self, e: &RoutedEventArgs)
Invoked when an unhandled Click event reaches an element in
its route that is derived from this class. Implement this method
to add class handling for this event.
on_submenu_opened
fn on_submenu_opened(this: &Self, e: &RoutedEventArgs)
Invoked when an unhandled SubmenuOpened event reaches an
element in its route that is derived from this class. Implement
this method to add class handling for this event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.