MenuFlyoutPresenter
struct · ferroui-controls · v0.5.0
struct MenuFlyoutPresenter
The control that hosts the items of a menu flyout.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MenuFlyoutPresenter>
Returns a strong reference to this object.
system_backdrop_property
fn system_backdrop_property() -> &'static ferroui_base::StyledProperty<Option<Ref<crate::media::SystemBackdrop>>>
Defines the SystemBackdrop property.
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.
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.
set_system_backdrop
fn set_system_backdrop(self: &Self, value: Option<Ref<crate::media::SystemBackdrop>>)
new
fn new() -> Ref<Self>
Creates a menu flyout presenter.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtSelectingItemsControlImplExtControlImplExtMenuBaseImplExtItemsControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<MenuFlyoutPresenter>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplLayoutableImplInteractiveImplInputElementImplControlImplTemplatedControlImplItemsControlImplSelectingItemsControlImplFerroObjectImplVisualImplMenuBaseImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.