Share via


IElementHandler 介面

定義

定義建立自定義專案處理程式所需的核心行為。 處理程式的概念檔

public interface class IElementHandler
public interface IElementHandler
type IElementHandler = interface
Public Interface IElementHandler
衍生

屬性

MauiContext

取得與項目相關聯的 .NET MAUI 內容。

PlatformView

取得與處理程式相關聯的平臺特定檢視物件。

VirtualView

取得與處理程式相關聯的跨平臺虛擬檢視。

方法

DisconnectHandler()

中斷項目處理程式與元素的清除連線。

Invoke(String, Object)

在具有指定自變數的專案上叫用指定的命令。

SetMauiContext(IMauiContext)

設定項目處理程式的 .NET MAUI 內容。

SetVirtualView(IElement)

設定與處理程式相關聯的跨平臺虛擬檢視。

UpdateValue(String)

匯報 處理程式上指定屬性的值。

適用於