SystemFonts Class
Specifies the fonts used to display text in Windows display elements.
Assembly: System.Drawing (in System.Drawing.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CaptionFont | Gets a Font that is used to display text in the title bars of windows. |
![]() ![]() | DefaultFont | Gets the default font that applications can use for dialog boxes and forms. |
![]() ![]() | DialogFont | Gets a font that applications can use for dialog boxes and forms. |
![]() ![]() | IconTitleFont | Gets a Font that is used for icon titles. |
![]() ![]() | MenuFont | Gets a Font that is used for menus. |
![]() ![]() | MessageBoxFont | Gets a Font that is used for message boxes. |
![]() ![]() | SmallCaptionFont | Gets a Font that is used to display text in the title bars of small windows, such as tool windows. |
![]() ![]() | StatusFont | Gets a Font that is used to display text in the status bar. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() ![]() | GetFontByName(String^) | Returns a font object that corresponds to the specified system font name. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | 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.
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.


