FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MenuFlyoutPresenter

    struct · ferroui-controls · v0.5.0

    struct MenuFlyoutPresenter
    

    The control that hosts the items of a menu flyout.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<MenuFlyoutPresenter>
    

    Returns a strong reference to this object.

    Source

    system_backdrop_property

    fn system_backdrop_property() -> &'static ferroui_base::StyledProperty<Option<Ref<crate::media::SystemBackdrop>>>
    

    Defines the SystemBackdrop property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data of a presenter that uses the default menu interaction handler of context menus; see ferroui_base::FerroObject::construct.

    Source

    system_backdrop

    fn system_backdrop(self: &Self) -> Option<Ref<crate::media::SystemBackdrop>>
    

    SystemBackdrop (WinUI MenuFlyoutPresenter.SystemBackdrop): the system backdrop drawn as the background of the presenter.

    Source

    set_system_backdrop

    fn set_system_backdrop(self: &Self, value: Option<Ref<crate::media::SystemBackdrop>>)
    

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a menu flyout presenter.

    Source

    Trait implementations

    Availability

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