Gets or sets the font of the text displayed by the control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The property is an ambient property. An ambient property is a control property that, if not set, is retrieved from the parent control. For example, a Button will have the same BackColor as its parent Form by default. For more information about ambient properties, see the AmbientProperties class or the Control class overview.
[Visual Basic, C#]
The following is an example of how to adjust the existing font to make it bold:Notes to Inheritors
When overriding the property in a derived class, use the base class's property to extend the base implementation. Otherwise, you must provide all the implementation. You are not required to override both the get and set accessors of the property; you can override only one if needed.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)