xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.

◆ font() [2/2]

virtual control& xtd::forms::control::font ( const drawing::font font)
virtualinherited

Gets the font of the text displayed by the control.

Parameters
fontThe font to apply to the text displayed by the control. The default is the value of the default_font property.

Reimplemented in xtd::forms::font_picker.