xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
selection_mode.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
22
enum class
selection_mode
{
24
none
= 0,
26
one
= 1,
28
multi_simple
= 2,
30
multi_extended
= 3
31
};
32
}
33
}
34
36
template
<>
struct
xtd::enum_register
<
xtd
::
forms::selection_mode
> {
37
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::selection_mode>
{{
xtd::forms::selection_mode::none
,
"none"
}, {
xtd::forms::selection_mode::one
,
"one"
}, {
xtd::forms::selection_mode::multi_simple
,
"multi_simple"
}, {
xtd::forms::selection_mode::multi_extended
,
"multi_extended"
}};}
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::selection_mode
selection_mode
Specifies the selection behavior of a list box.
Definition
selection_mode.hpp:22
xtd::forms::selection_mode::none
@ none
No items can be selected.
Definition
selection_mode.hpp:24
xtd::forms::selection_mode::multi_simple
@ multi_simple
Multiple items can be selected.
Definition
selection_mode.hpp:28
xtd::forms::selection_mode::multi_extended
@ multi_extended
Multiple items can be selected, and the user can use the SHIFT, CTRL, and arrow keys to make selectio...
Definition
selection_mode.hpp:30
xtd::forms::selection_mode::one
@ one
Only one item can be selected.
Definition
selection_mode.hpp:26
xtd::forms::anchor_styles::none
@ none
no styles.
Definition
anchor_styles.hpp:21
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.