Share via


Button.ButtonContentLayout Constructor

Definition

Creates a new Button.ButtonContentLayout with the specified position and spacing.

public ButtonContentLayout (Xamarin.Forms.Button.ButtonContentLayout.ImagePosition position, double spacing);
new Xamarin.Forms.Button.ButtonContentLayout : Xamarin.Forms.Button.ButtonContentLayout.ImagePosition * double -> Xamarin.Forms.Button.ButtonContentLayout

Parameters

position
Button.ButtonContentLayout.ImagePosition

An enumeration value that controls where the image is displayed in the button.

spacing
System.Double

The spacing to use between the image and text.

Applies to