Condividi tramite


Label.FormattedText Property

Definition

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

public:
 property Microsoft::Maui::Controls::FormattedString ^ FormattedText { Microsoft::Maui::Controls::FormattedString ^ get(); void set(Microsoft::Maui::Controls::FormattedString ^ value); };
public Microsoft.Maui.Controls.FormattedString FormattedText { get; set; }
member this.FormattedText : Microsoft.Maui.Controls.FormattedString with get, set
Public Property FormattedText As FormattedString

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