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)

适用于