FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MenuItemImpl

    trait · ferroui-controls · v0.5.0

    trait MenuItemImpl: HeaderedSelectingItemsControlImpl + $crate::Upcast<MenuItem>
    

    The overridable members introduced by the class.

    View source

    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.

    Source

    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.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.