xtd 0.2.0
Loading...
Searching...
No Matches

◆ fore_color() [2/2]

virtual control & xtd::forms::control::fore_color ( const xtd::drawing::color color)
virtual

Sets the foreground color of the control.

Parameters
colorThe foreground color of the control. The default is the value of the default_fore_color property.
Returns
Current control.
Remarks
The xtd::forms::control::fore_color 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 xtd::forms::button will have the same xtd::forms::control::back_color as its parent xtd::forms::form by default. For more information about ambient properties, see the ambient_properties guide.