共用方式為


ViewHandler.MapFocus(IViewHandler, IView, Object) 方法

定義

將抽象 Focus() 屬性對應至平臺特定的實作。

public:
 static void MapFocus(Microsoft::Maui::IViewHandler ^ handler, Microsoft::Maui::IView ^ view, System::Object ^ args);
public static void MapFocus (Microsoft.Maui.IViewHandler handler, Microsoft.Maui.IView view, object? args);
static member MapFocus : Microsoft.Maui.IViewHandler * Microsoft.Maui.IView * obj -> unit
Public Shared Sub MapFocus (handler As IViewHandler, view As IView, args As Object)

參數

handler
IViewHandler

相關的處理常式。

view
IView

相關聯的 IView 實例。

args
Object

傳遞至這個事件之關聯的自變數。

適用於