次の方法で共有


Label.FormattedText Property

Definition

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

public Xamarin.Forms.FormattedString FormattedText { get; set; }
member this.FormattedText : Xamarin.Forms.FormattedString with get, set

Property Value

The FormattedString value to be displayed inside of the Label. This is a bindable property.

Remarks

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

Applies to