This documentation is archived and is not being maintained.
SystemFonts Class
Visual Studio 2010
Specifies the fonts used to display text in Windows display elements.
Assembly: System.Drawing (in System.Drawing.dll)
The SystemFonts type exposes the following members.
| 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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetFontByName | Returns a font object that corresponds to the specified system font name. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
