xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
combo_box_style.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
24
enum class
combo_box_style
{
26
simple
= 1,
28
drop_down
= 2,
30
drop_down_list
= 3,
31
};
32
}
33
}
34
36
template
<>
struct
xtd::enum_register
<
xtd
::
forms::combo_box_style
> {
37
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::combo_box_style>
{{
xtd::forms::combo_box_style::simple
,
"simple"
}, {
xtd::forms::combo_box_style::drop_down
,
"drop_down"
}, {
xtd::forms::combo_box_style::drop_down_list
,
"drop_down_list"
}};}
38
};
xtd::enum_collection
std::vector< std::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.hpp:24
xtd::forms::combo_box_style
combo_box_style
Specifies the combo_box style.
Definition
combo_box_style.hpp:24
xtd::forms::combo_box_style::drop_down
@ drop_down
Specifies that the list is displayed by clicking the down arrow and that the text portion is editable...
Definition
combo_box_style.hpp:28
xtd::forms::combo_box_style::drop_down_list
@ drop_down_list
Specifies that the list is displayed by clicking the down arrow and that the text portion is not edit...
Definition
combo_box_style.hpp:30
xtd::forms::combo_box_style::simple
@ simple
Specifies that the list is always visible and that the text portion is editable. This means that the ...
Definition
combo_box_style.hpp:26
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.