Share via


ApplicationHandler Class

Definition

Represents the view handler for the abstract IApplication view and its platform-specific implementation.

public ref class ApplicationHandler : Microsoft::Maui::Handlers::ElementHandler<Microsoft::Maui::IApplication ^, System::Object ^>
public class ApplicationHandler : Microsoft.Maui.Handlers.ElementHandler<Microsoft.Maui.IApplication,object>
type ApplicationHandler = class
    inherit ElementHandler<IApplication, obj>
Public Class ApplicationHandler
Inherits ElementHandler(Of IApplication, Object)
Inheritance

Constructors

ApplicationHandler()
ApplicationHandler(IPropertyMapper, CommandMapper)
ApplicationHandler(IPropertyMapper)

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

ConnectHandler(TPlatformView) (Inherited from ElementHandler<TVirtualView,TPlatformView>)
CreatePlatformElement()
DisconnectHandler(TPlatformView) (Inherited from ElementHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Inherited from ElementHandler)
MapActivateWindow(ApplicationHandler, IApplication, Object)

Maps the abstract ActivateWindow(IWindow) command to the platform-specific implementations.

MapCloseWindow(ApplicationHandler, IApplication, Object)

Maps the abstract CloseWindow(IWindow) command to the platform-specific implementations.

MapOpenWindow(ApplicationHandler, IApplication, Object)

Maps the abstract OpenWindow(IWindow) command to the platform-specific implementations.

MapTerminate(ApplicationHandler, IApplication, Object)

Maps the abstract "Terminate" command to the platform-specific implementations.

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>)

Extension Methods

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

Applies to