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

◆ fore_color() [1/2]

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

Gets the foreground color of the control.

Returns
The foreground color of the control. The default is the value of the default_fore_color property.
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.
Examples
clock.cpp, demo.cpp, lcd_label2.cpp, lcd_label_with_dot_matrix.cpp, lcd_label_with_fourteen_segment.cpp, lcd_label_with_nine_segment.cpp, lcd_label_with_seven_segment.cpp, lcd_label_with_sixteen_segment.cpp, and test_forms.cpp.