SystemFonts Class

 

Specifies the fonts used to display text in Windows display elements.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

System.Object
  System.Drawing.SystemFonts

public sealed class SystemFonts

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticCaptionFont

Gets a Font that is used to display text in the title bars of windows.

System_CAPS_pubpropertySystem_CAPS_staticDefaultFont

Gets the default font that applications can use for dialog boxes and forms.

System_CAPS_pubpropertySystem_CAPS_staticDialogFont

Gets a font that applications can use for dialog boxes and forms.

System_CAPS_pubpropertySystem_CAPS_staticIconTitleFont

Gets a Font that is used for icon titles.

System_CAPS_pubpropertySystem_CAPS_staticMenuFont

Gets a Font that is used for menus.

System_CAPS_pubpropertySystem_CAPS_staticMessageBoxFont

Gets a Font that is used for message boxes.

System_CAPS_pubpropertySystem_CAPS_staticSmallCaptionFont

Gets a Font that is used to display text in the title bars of small windows, such as tool windows.

System_CAPS_pubpropertySystem_CAPS_staticStatusFont

Gets a Font that is used to display text in the status bar.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetFontByName(String)

Returns a font object that corresponds to the specified system font name.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Each property of the SystemFonts class returns a Font used to display text in a particular Windows display element, such as the title bar of a window. These fonts reflect the current settings in Control Panel.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: