System.Windows.Forms.Control.DefaultFont Property

Gets the default font of the control.

Syntax

public static System.Drawing.Font DefaultFont { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The following table describes the value returned by Control.DefaultFont depending on the operating system and local culture.

Windows NT 4x, Japanese version

MS UI Gothic, 9 point.

Arabic Windows

Tahoma, 8 point.

Other operating system/culture

MS Shell Dlg logical font, typically Microsoft San Serif 8 point.

MS Shell Dlg maps to a font set in the system registry.

If the previous fonts are not installed, the default font is Tahoma, 8 point. If Tahoma, 8 point, is not installed, Control.DefaultFont returns the value of the System.Drawing.FontFamily.GenericSansSerif property

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0