Button.ButtonContentLayout 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
Button.ButtonContentLayoutButton.ButtonContentLayout
Attributes

Constructors

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

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

Properties

Position Position

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

Spacing Spacing

Gets the spacing to use between the image and text.

Methods

ToString() ToString()

Returns a string represention of this Xamarin.Forms.Button+ButtonContentLayout object.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to