Share via


Button.ButtonContentLayout Constructor

Definition

Initializes a new instance of the this class.

public:
 ButtonContentLayout(Microsoft::Maui::Controls::Button::ButtonContentLayout::ImagePosition position, double spacing);
public ButtonContentLayout (Microsoft.Maui.Controls.Button.ButtonContentLayout.ImagePosition position, double spacing);
new Microsoft.Maui.Controls.Button.ButtonContentLayout : Microsoft.Maui.Controls.Button.ButtonContentLayout.ImagePosition * double -> Microsoft.Maui.Controls.Button.ButtonContentLayout
Public Sub New (position As Button.ButtonContentLayout.ImagePosition, spacing As Double)

Parameters

position
Button.ButtonContentLayout.ImagePosition

The position of the image.

spacing
Double

The spacing for the button content.

Applies to