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.

C#
public System.Drawing.Font Font { get; set; }

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

Produkt Versiounen
Windows Desktop 6, 7, 8, 9, 10