ApplyApplicationDefaultsEventArgs.Font Property


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.

 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



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