xtd 0.2.0
Loading...
Searching...
No Matches
font_box_options.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
22 enum class font_box_options {
24 none = 0b0,
28 allow_vector_fonts = 0b10,
32 allow_script_change = 0b1000,
34 fixed_pitch_only = 0b10000,
36 scripts_only = 0b100000,
38 show_apply = 0b1000000,
40 show_color = 0b10000000,
42 show_effects = 0b100000000,
44 show_help = 0b1000000000,
47 };
48 }
49}
50
52flags_attribute_(xtd::forms, font_box_options);
53
56};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:22
font_box_options
Specifies options on a xtd::forms::font_box.
Definition font_box_options.h:22
@ show_help
A Help button appears in the color dialog box.
@ show_color
Whether the dialog box displays the color choice.
@ allow_script_change
Whether the user can change the character set specified in the Script combo box to display a characte...
@ allow_simulations
Whether the dialog box allows graphics device interface (GDI) font simulations.
@ scripts_only
Whether the dialog box allows selection of fonts for all non-OEM and Symbol character sets,...
@ allow_vertical_fonts
Whether the dialog box displays both vertical and horizontal fonts or only horizontal fonts.
@ show_effects
Whether the dialog box contains controls that allow the user to specify strikethrough,...
@ show_apply
Whether the dialog box contains an Apply button.
@ allow_vector_fonts
Whether the dialog box allows vector font selections.
@ all
All flags except none.
@ fixed_pitch_only
Whether the dialog box allows only the selection of fixed-pitch fonts.
@ show_help
Whether the dialog box displays a Help button.
@ all
All flags except none.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38