Xamarin.Forms Guides | Samples

Xamarin.Forms.Label.Text Property

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

Syntax

public String Text { get; set; }

Value

The String value to be displayed inside of the Label.

Remarks

Setting Text to a non-null value will set the FormattedText property to null.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0