共用方式為


MenuFlyoutHandler 類別

定義

public ref class MenuFlyoutHandler : Microsoft::Maui::Handlers::ElementHandler<Microsoft::Maui::IMenuFlyout ^, System::Object ^>, Microsoft::Maui::Handlers::IMenuFlyoutHandler
public class MenuFlyoutHandler : Microsoft.Maui.Handlers.ElementHandler<Microsoft.Maui.IMenuFlyout,object>, Microsoft.Maui.Handlers.IMenuFlyoutHandler
type MenuFlyoutHandler = class
    inherit ElementHandler<IMenuFlyout, obj>
    interface IMenuFlyoutHandler
    interface IElementHandler
Public Class MenuFlyoutHandler
Inherits ElementHandler(Of IMenuFlyout, Object)
Implements IMenuFlyoutHandler
繼承
實作

建構函式

MenuFlyoutHandler()
MenuFlyoutHandler(IPropertyMapper, CommandMapper)

欄位

CommandMapper
Mapper

屬性

MauiContext (繼承來源 ElementHandler)
PlatformView (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
Services (繼承來源 ElementHandler)
VirtualView (繼承來源 ElementHandler<TVirtualView,TPlatformView>)

方法

Add(IMenuElement)
Clear()
ConnectHandler(TPlatformView) (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
CreatePlatformElement()
DisconnectHandler(TPlatformView) (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
Insert(Int32, IMenuElement)
Invoke(String, Object) (繼承來源 ElementHandler)
MapAdd(IMenuFlyoutHandler, IMenuFlyout, Object)
MapClear(IMenuFlyoutHandler, IMenuFlyout, Object)
MapInsert(IMenuFlyoutHandler, IMenuFlyout, Object)
MapRemove(IMenuFlyoutHandler, IMenuFlyout, Object)
Remove(IMenuElement)
SetMauiContext(IMauiContext) (繼承來源 ElementHandler)
SetVirtualView(IElement) (繼承來源 ElementHandler)
UpdateValue(String) (繼承來源 ElementHandler)

明確介面實作

IElementHandler.DisconnectHandler() (繼承來源 ElementHandler)
IElementHandler.PlatformView (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
IMenuFlyoutHandler.PlatformView
IMenuFlyoutHandler.VirtualView

擴充方法

GetRequiredService<T>(IElementHandler, Type)
GetRequiredService<T>(IElementHandler)
GetService<T>(IElementHandler, Type)
GetService<T>(IElementHandler)
GetServiceProvider(IElementHandler)
IsConnected(IElementHandler)

適用於