The following code example demonstrate the use of color_picker picker.
#include <xtd/xtd>
namespace examples {
class form1 :
public form {
public:
form1() {
text("Color picker example");
test_zone.parent(*this);
test_zone.location({10, 50});
test_zone.back_color(color::red);
test_zone.border_style(border_style::fixed_3d);
};
}
private:
};
}
int main() {
application::run(examples::form1());
}
event< color_picker, event_handler > color_changed
Occurs when the value of the color property changes.
Definition: color_picker.h:54
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition: bitmap.h:11
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17