Udostępnij za pośrednictwem


MenuBarItemHandler Class

Definition

public ref class MenuBarItemHandler : Microsoft::Maui::Handlers::ElementHandler<Microsoft::Maui::IMenuBarItem ^, System::Object ^>, Microsoft::Maui::Handlers::IMenuBarItemHandler
public class MenuBarItemHandler : Microsoft.Maui.Handlers.ElementHandler<Microsoft.Maui.IMenuBarItem,object>, Microsoft.Maui.Handlers.IMenuBarItemHandler
type MenuBarItemHandler = class
    inherit ElementHandler<IMenuBarItem, obj>
    interface IMenuBarItemHandler
    interface IElementHandler
Public Class MenuBarItemHandler
Inherits ElementHandler(Of IMenuBarItem, Object)
Implements IMenuBarItemHandler
Inheritance
Implements

Constructors

MenuBarItemHandler()
MenuBarItemHandler(IPropertyMapper, CommandMapper)

Fields

CommandMapper
Mapper

Properties

MauiContext (Inherited from ElementHandler)
PlatformView (Inherited from ElementHandler<TVirtualView,TPlatformView>)
Services (Inherited from ElementHandler)
VirtualView (Inherited from ElementHandler<TVirtualView,TPlatformView>)

Methods

Add(IMenuElement)
Clear()
ConnectHandler(TPlatformView) (Inherited from ElementHandler<TVirtualView,TPlatformView>)
CreatePlatformElement()
DisconnectHandler(TPlatformView) (Inherited from ElementHandler<TVirtualView,TPlatformView>)
Insert(Int32, IMenuElement)
Invoke(String, Object) (Inherited from ElementHandler)
MapAdd(IMenuBarItemHandler, IMenuBarItem, Object)
MapClear(IMenuBarItemHandler, IMenuBarItem, Object)
MapInsert(IMenuBarItemHandler, IMenuBarItem, Object)
MapRemove(IMenuBarItemHandler, IMenuBarItem, Object)
Remove(IMenuElement)
SetMauiContext(IMauiContext) (Inherited from ElementHandler)
SetVirtualView(IElement) (Inherited from ElementHandler)
UpdateValue(String) (Inherited from ElementHandler)

Explicit Interface Implementations

IElementHandler.DisconnectHandler() (Inherited from ElementHandler)
IElementHandler.PlatformView (Inherited from ElementHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Inherited from ElementHandler<TVirtualView,TPlatformView>)
IMenuBarItemHandler.PlatformView
IMenuBarItemHandler.VirtualView

Extension Methods

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

Applies to