Label.FormattedText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für