Xamarin.Forms Guides | Samples

Xamarin.Forms.Button.ButtonContentLayout Class

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

See Also: Button+ButtonContentLayout

Syntax

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

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 2.0.0.0

The members of Xamarin.Forms.Button.ButtonContentLayout are listed below.

See Also: Object

Public Constructors

Public Properties

[read-only]
PositionButton+ButtonContentLayout+ImagePosition. Gets an enumeration value that tells where the image is displayed in the button.
[read-only]
SpacingDouble. Gets the spacing to use between the image and text.

Public Methods

override
ToString() : String
Returns a string represention of this Button+ButtonContentLayout object.