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
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);

Parameters

handler
ButtonHandler

The handler associated to this control.

button
Button

The abstract control that is being mapped.

Applies to

.NET MAUI 10 and other versions
Product Versions
.NET MAUI 8, 9, 10

MapText(IButtonHandler, Button)

Source:
Button.Standard.cs
Source:
Button.Standard.cs
Source:
Button.Standard.cs
public static void MapText(Microsoft.Maui.Handlers.IButtonHandler handler, Microsoft.Maui.Controls.Button button);

Parameters

handler
IButtonHandler
button
Button

Applies to

.NET MAUI 10 and other versions
Product Versions
.NET MAUI 8, 9, 10