FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MenuBaseProps

    trait · ferroui-view · v0.5.0

    trait MenuBaseProps: ElementBuilder
    

    The properties and routed events of MenuBase.

    View source

    Members

    on_opened

    fn on_opened(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles MenuBase::opened_event.

    Source

    on_closed

    fn on_closed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles MenuBase::closed_event.

    Source

    Trait implementations

    Availability

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