Partager via


MenuBarHandler Class

Definition

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

Constructors

MenuBarHandler()
MenuBarHandler(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(IMenuBarItem)
Clear()
ConnectHandler(TPlatformView) (Inherited from ElementHandler<TVirtualView,TPlatformView>)
CreatePlatformElement()
DisconnectHandler(TPlatformView) (Inherited from ElementHandler<TVirtualView,TPlatformView>)
Insert(Int32, IMenuBarItem)
Invoke(String, Object) (Inherited from ElementHandler)
MapAdd(IMenuBarHandler, IMenuBar, Object)
MapClear(IMenuBarHandler, IMenuBar, Object)
MapInsert(IMenuBarHandler, IMenuBar, Object)
MapRemove(IMenuBarHandler, IMenuBar, Object)
Remove(IMenuBarItem)
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>)
IMenuBarHandler.PlatformView
IMenuBarHandler.VirtualView

Extension Methods

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

Applies to