共用方式為


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

WindowHandler()
WindowHandler(IPropertyMapper, CommandMapper)
WindowHandler(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)
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

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