Xamarin.Forms.Label Members

The members of Xamarin.Forms.Label are listed below.

See Also: Inherited members from Xamarin.Forms.View

Public Constructors

Initializes a new instance of the Label class.

Public Fields

static readonly
FontAttributesPropertyBindableProperty. Backing store for the FontAttributes property.
static readonly
FontFamilyPropertyBindableProperty. Backing store for the FontFamily property.
static readonly
FontPropertyBindableProperty. Backing store for the Font bindable property.
static readonly
FontSizePropertyBindableProperty. Backing store for the FontSize property.
static readonly
FormattedTextPropertyBindableProperty. Backing store for the FormattedText property.
static readonly
LineBreakModePropertyBindableProperty. Backing store for the LineBreakMode bindable property.
static readonly
TextColorPropertyBindableProperty. Backing store for the TextColor bindable property.
static readonly
TextPropertyBindableProperty. Backing store for the Text bindable property.
static readonly
XAlignPropertyBindableProperty. Backing store for the XAlign bindable property.
static readonly
YAlignPropertyBindableProperty. Backing store for the YAlign bindable property.

Public Properties

FontFont. Gets or sets the Font for the Label. This is a bindable property.
FontAttributesFontAttributes. Gets a value that indicates whether the font for the label is bold, italic, or neither.
FontFamilystring. Gets the font family to which the font for the label belongs.
FontSizedouble. Gets the size of the font for the label.
FormattedTextFormattedString. Gets or sets the formatted text for the Label. This is a bindable property.
LineBreakModeLineBreakMode. Gets or sets the LineBreakMode for the Label. This is a bindable property.
Textstring. Gets or sets the text for the Label. This is a bindable property.
TextColorColor. Gets or sets the Xamarin.Forms.Color for the text of this Label. This is a bindable property.
XAlignTextAlignment. Gets or sets the horizontal alignment for the Text inside of the Label bound.
YAlignTextAlignment. Gets or sets the vertical alignment for the Text inside of the Label bound.