ApplyApplicationDefaultsEventArgs.Font 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 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

Продукт Версии
Windows Desktop 6, 7, 8, 9, 10