共用方式為


Button.MapContentLayout 方法

定義

多載

MapContentLayout(ButtonHandler, Button)
MapContentLayout(IButtonHandler, Button)

地圖 抽象ContentLayout屬性至平台實作。

MapContentLayout(ButtonHandler, Button)

來源:
Button.Mapper.cs
來源:
Button.Mapper.cs
public:
 static void MapContentLayout(Microsoft::Maui::Handlers::ButtonHandler ^ handler, Microsoft::Maui::Controls::Button ^ button);
public static void MapContentLayout (Microsoft.Maui.Handlers.ButtonHandler handler, Microsoft.Maui.Controls.Button button);
static member MapContentLayout : Microsoft.Maui.Handlers.ButtonHandler * Microsoft.Maui.Controls.Button -> unit
Public Shared Sub MapContentLayout (handler As ButtonHandler, button As Button)

參數

handler
ButtonHandler
button
Button

適用於

MapContentLayout(IButtonHandler, Button)

來源:
Button.Mapper.cs
來源:
Button.Mapper.cs

地圖 抽象ContentLayout屬性至平台實作。

public:
 static void MapContentLayout(Microsoft::Maui::Handlers::IButtonHandler ^ handler, Microsoft::Maui::Controls::Button ^ button);
public static void MapContentLayout (Microsoft.Maui.Handlers.IButtonHandler handler, Microsoft.Maui.Controls.Button button);
static member MapContentLayout : Microsoft.Maui.Handlers.IButtonHandler * Microsoft.Maui.Controls.Button -> unit
Public Shared Sub MapContentLayout (handler As IButtonHandler, button As Button)

參數

handler
IButtonHandler

與此控件相關聯的處理程式。

button
Button

正在對應的抽象控件。

適用於