共用方式為


Button.MapText Method

Definition

Overloads

MapText(ButtonHandler, Button)

Maps the abstract Text property to the platform implementation.

MapText(IButtonHandler, Button)

MapText(ButtonHandler, Button)

Source:
Button.Standard.cs
Source:
Button.Standard.cs

Maps the abstract Text property to the platform implementation.

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

Parameters

handler
ButtonHandler

The handler associated to this control.

button
Button

The abstract control that is being mapped.

Applies to

MapText(IButtonHandler, Button)

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

Parameters

handler
IButtonHandler
button
Button

Applies to