#include <xtd/drawing/texts>
#include <xtd/forms/application>
#include <xtd/forms/form>
#include <xtd/forms/group_box>
#include <xtd/forms/toggle_buttons>
auto main() -> int {
auto form_main = form::create("toggle buttons example");
auto toggle_button_align_left = toggle_buttons::align_left(group_box_alignment, false, check_state::unchecked, {20, 20});
auto toggle_button_align_right = toggle_buttons::align_right(group_box_alignment, false, check_state::unchecked, {20, 70});
auto toggle_button_centered = toggle_buttons::centered(group_box_alignment, false, check_state::unchecked, {20, 120});
auto toggle_button_justified = toggle_buttons::justified(group_box_alignment, false, check_state::unchecked, {20, 170});
toggle_button_align_left.checked(true);
application::run(form_main);
}
static xtd::string alignment()
Gets a system-defined text that has a string value of "Alignment". This field is constant.