共用方式為


Label.FontAttributes Property

Definition

Gets a value that indicates whether the font for the label is bold, italic, or neither.

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

Property Value

Applies to