Button.MapContentLayout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MapContentLayout(ButtonHandler, Button) |
Maps the abstract ContentLayout property to the platform implementation. |
MapContentLayout(IButtonHandler, Button) |
Maps the abstract ContentLayout property to the platform implementation. |
MapContentLayout(ButtonHandler, Button)
Maps the abstract ContentLayout property to the platform implementation.
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
The handler associated to this control.
- button
- Button
The abstract control that is being mapped.
Applies to
MapContentLayout(IButtonHandler, Button)
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for