Share via


IMenuBarHandler Interface

Definition

public interface class IMenuBarHandler : Microsoft::Maui::IElementHandler
public interface IMenuBarHandler : Microsoft.Maui.IElementHandler
type IMenuBarHandler = interface
    interface IElementHandler
Public Interface IMenuBarHandler
Implements IElementHandler
Derived
Implements

Properties

MauiContext

Gets the .NET MAUI context associated with the element.

(Inherited from IElementHandler)
PlatformView
VirtualView

Methods

Add(IMenuBarItem)
Clear()
DisconnectHandler()

Disconnects the element handler from the element for clean up.

(Inherited from IElementHandler)
Insert(Int32, IMenuBarItem)
Invoke(String, Object)

Invokes the specified command on the element with the given arguments.

(Inherited from IElementHandler)
Remove(IMenuBarItem)
SetMauiContext(IMauiContext)

Sets the .NET MAUI context for the element handler.

(Inherited from IElementHandler)
SetVirtualView(IElement)

Sets the cross-platform virtual view associated with the handler.

(Inherited from IElementHandler)
UpdateValue(String)

Updates the value of the specified property on the handler.

(Inherited from IElementHandler)

Extension Methods

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

Applies to