xtd - Reference Guide
0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
selection_mode.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
18
enum class
selection_mode
{
20
none
= 0,
22
one
= 1,
24
multi_simple
= 2,
26
multi_extended
= 3
27
};
28
30
inline
std::ostream& operator<<(std::ostream& os,
selection_mode
value) {
return
os <<
to_string
(value, {{
selection_mode::none
,
"none"
}, {
selection_mode::one
,
"one"
}, {
selection_mode::multi_simple
,
"multi_simple"
}, {
selection_mode::multi_extended
,
"multi_extended"
}});}
31
inline
std::wostream& operator<<(std::wostream& os,
selection_mode
value) {
return
os <<
to_string
(value, {{
selection_mode::none
, L
"none"
}, {
selection_mode::one
, L
"one"
}, {
selection_mode::multi_simple
, L
"multi_simple"
}, {
selection_mode::multi_extended
, L
"multi_extended"
}});}
33
}
34
}
xtd::to_string
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition
to_string.h:37
xtd::forms::selection_mode
selection_mode
Specifies the selection behavior of a list box.
Definition
selection_mode.h:18
xtd::forms::selection_mode::none
@ none
No items can be selected.
xtd::forms::selection_mode::multi_simple
@ multi_simple
Multiple items can be selected.
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...
xtd::forms::selection_mode::one
@ one
Only one item can be selected.
xtd::forms::anchor_styles::none
@ none
The cause of the closure was not defined or could not be determined.
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
about_box.h:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
system_report.h:17
ustring.h
Contains xtd::ustring class.
Generated on Tue Mar 12 2024 16:25:09 for xtd - Reference Guide by
Gammasoft
. All rights reserved.