Share via


Button.MapContentLayout Method

Definition

Overloads

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

Maps the abstract ContentLayout property to the platform implementation.

MapContentLayout(ButtonHandler, Button)

Source:
Button.Mapper.cs
Source:
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)

Parameters

handler
ButtonHandler
button
Button

Applies to

MapContentLayout(IButtonHandler, Button)

Source:
Button.Mapper.cs
Source:
Button.Mapper.cs

Maps the abstract ContentLayout property to the platform implementation.

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)

Parameters

handler
IButtonHandler

The handler associated to this control.

button
Button

The abstract control that is being mapped.

Applies to