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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI