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

◆ back_color() [1/2]

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

Gets the background color for the control.

Returns
A xtd::drawing::color that represents the background color of the control. The default is the value of the xtd::forms::control::default_back_color property.
Remarks
The xtd::forms::control::back_color property does not support transparent colors unless the xtd::forms::control_styles::supports_transparent_back_color value of xtd::forms::control_styles is set to true.
The xtd::forms::control::back_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 button will have the same xtd::forms::control::back_color as its parent form by default. For more information about ambient properties, see the ambient_properties guide.
Examples
animation.cpp, clock.cpp, debug_form.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, test_forms.cpp, and trace_form.cpp.