Xamarin.Forms by Xamarin Inc.

<PackageReference Include="Xamarin.Forms" Version="1.3.4.6332" />

.NET API 637,440 bytes

 Label

public class Label : View, IFontElement
A View that displays text.

Backing store for the FontAttributes property.

public static readonly BindableProperty FontFamilyProperty

Backing store for the FontFamily property.

public static readonly BindableProperty FontProperty

Backing store for the Font bindable property.

public static readonly BindableProperty FontSizeProperty

Backing store for the FontSize property.

public static readonly BindableProperty FormattedTextProperty

Backing store for the FormattedText property.

public static readonly BindableProperty LineBreakModeProperty

Backing store for the LineBreakMode bindable property.

public static readonly BindableProperty TextColorProperty

Backing store for the TextColor bindable property.

public static readonly BindableProperty TextProperty

Backing store for the Text bindable property.

public static readonly BindableProperty XAlignProperty

Backing store for the XAlign bindable property.

public static readonly BindableProperty YAlignProperty

Backing store for the YAlign bindable property.

public Font Font { get; set; }

Gets or sets the Font for the Label. This is a bindable property.

public FontAttributes FontAttributes { get; set; }

Gets a value that indicates whether the font for the label is bold, italic, or neither.

public string FontFamily { get; set; }

Gets the font family to which the font for the label belongs.

public double FontSize { get; set; }

Gets the size of the font for the label.

public FormattedString FormattedText { get; set; }

Gets or sets the formatted text for the Label. This is a bindable property.

public LineBreakMode LineBreakMode { get; set; }

Gets or sets the LineBreakMode for the Label. This is a bindable property.

public string Text { get; set; }

Gets or sets the text for the Label. This is a bindable property.

public Color TextColor { get; set; }

Gets or sets the Color for the text of this Label. This is a bindable property.

public TextAlignment XAlign { get; set; }

Gets or sets the horizontal alignment for the Text inside of the Label bound.

public TextAlignment YAlign { get; set; }

Gets or sets the vertical alignment for the Text inside of the Label bound.

public Label()