語言

ApplicationHandler 類別

定義

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

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

建構函式

名稱 Description
ApplicationHandler()

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

ApplicationHandler(IPropertyMapper, CommandMapper)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

ApplicationHandler(IPropertyMapper)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

欄位

名稱 Description
CommandMapper

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

Mapper

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

屬性

名稱 Description
MauiContext

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler)
PlatformView

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler<TVirtualView,TPlatformView>)
Services

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler)
VirtualView

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler<TVirtualView,TPlatformView>)

方法

名稱 Description
ConnectHandler(TPlatformView)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler<TVirtualView,TPlatformView>)
CreatePlatformElement()

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

DisconnectHandler(TPlatformView)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler<TVirtualView,TPlatformView>)
Invoke(String, Object)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler)
MapActivateWindow(ApplicationHandler, IApplication, Object)

將抽象 ActivateWindow(IWindow) 命令對應至平臺特定的實作。

MapCloseWindow(ApplicationHandler, IApplication, Object)

將抽象 CloseWindow(IWindow) 命令對應至平臺特定的實作。

MapOpenWindow(ApplicationHandler, IApplication, Object)

將抽象 OpenWindow(IWindow) 命令對應至平臺特定的實作。

MapTerminate(ApplicationHandler, IApplication, Object)

將抽象的 「Terminate」 命令對應至平臺特定的實作。

SetMauiContext(IMauiContext)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler)
SetVirtualView(IElement)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler)
UpdateValue(String)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler)

明確介面實作

名稱 Description
IElementHandler.DisconnectHandler()

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler)
IElementHandler.PlatformView

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

(繼承來源 ElementHandler<TVirtualView,TPlatformView>)

擴充方法

名稱 Description
GetRequiredService<T>(IElementHandler, Type)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

GetRequiredService<T>(IElementHandler)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

GetService<T>(IElementHandler, Type)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

GetService<T>(IElementHandler)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

GetServiceProvider(IElementHandler)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

IsConnected(IElementHandler)

表示抽象 IApplication 檢視及其平臺特定實作的檢視處理程式。

適用於