Edit

Share via


ApplyApplicationDefaultsEventArgs.Font Property

Definition

Gets or sets the default font for Forms and UserControls application-wide. If this property is not written, or the event is not handled, the default font for Forms and UserControls is set by the system.

public:
 property System::Drawing::Font ^ Font { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public System.Drawing.Font Font { get; set; }
member this.Font : System.Drawing.Font with get, set
Public Property Font As Font

Property Value

Remarks

When the ApplyApplicationDefault event is raised, this property contains nothing. A new default Font for the application is applied by setting this property with a value other than nothing.

Applies to