Share via


WindowHandler Class

Definition

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

Constructors

Name Description
WindowHandler()
WindowHandler(IPropertyMapper, CommandMapper)
WindowHandler(IPropertyMapper)

Fields

Name Description
CommandMapper
Mapper

Properties

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

Methods

Name Description
ConnectHandler(TPlatformView) (Inherited from ElementHandler<TVirtualView,TPlatformView>)
CreatePlatformElement()
DisconnectHandler(TPlatformView) (Inherited from ElementHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Inherited from ElementHandler)
MapContent(IWindowHandler, IWindow)
MapHeight(IWindowHandler, IWindow)
MapRequestDisplayDensity(IWindowHandler, IWindow, Object)
MapTitle(IWindowHandler, IWindow)
MapWidth(IWindowHandler, IWindow)
MapX(IWindowHandler, IWindow)
MapY(IWindowHandler, IWindow)
SetMauiContext(IMauiContext) (Inherited from ElementHandler)
SetVirtualView(IElement) (Inherited from ElementHandler)
UpdateValue(String) (Inherited from ElementHandler)

Explicit Interface Implementations

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

Extension Methods

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

Applies to