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

The following code example demonstrate the use of check_boxes control factory.

Windows
check_boxescheck_boxes_w.png

check_boxes_wd.png
macOS
check_boxescheck_boxes_m.png

check_boxes_md.png
Gnome
check_boxes_g.png

check_boxes_gd.png
#include <xtd/xtd>
using namespace xtd::forms;
int main() {
auto main_form = control::create<form>("Check boxes example");
auto font_group_box = control::create<group_box>(*main_form, system_texts::font(), {10, 10}, {150, 180});
auto bold_check_box = check_boxes::bold(*font_group_box, {20, 20});
auto italic_check_box = check_boxes::italic(*font_group_box, {20, 50});
auto underline_check_box = check_boxes::underline(*font_group_box, {20, 80});
auto strikeout_check_box = check_boxes::strikeout(*font_group_box, {20, 110});
application::run(*main_form);
}