Freigeben über


Button.ButtonContentLayout Class

Definition

Controls the relative positioning of, and spacing between, text and an image on a Button.

[System.Diagnostics.DebuggerDisplay("Image Position = {Position}, Spacing = {Spacing}")]
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.Button/ButtonContentTypeConverter))]
public sealed class Button.ButtonContentLayout
type Button.ButtonContentLayout = class
Inheritance
System.Object
Button.ButtonContentLayout
Attributes
System.Diagnostics.DebuggerDisplayAttribute TypeConverterAttribute

Constructors

Button.ButtonContentLayout(Button+ButtonContentLayout+ImagePosition, Double)

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

Properties

Position

Gets an enumeration value that tells where the image is displayed in the button.

Spacing

Gets the spacing to use between the image and text.

Methods

ToString()

Returns a string represention of this Button.ButtonContentLayout object.

Applies to