xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
xtd.forms
include
xtd
forms
character_casing.h
Go to the documentation of this file.
1
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
18
enum class
character_casing
{
20
normal
= 0,
22
upper
= 1,
24
lower
= 2,
25
};
26
28
inline
std::ostream& operator<<(std::ostream& os,
character_casing
value) {
return
os <<
to_string
(value, {{
character_casing::normal
,
"normal"
}, {
character_casing::upper
,
"upper"
}, {
character_casing::lower
,
"lower"
}});}
29
inline
std::wostream& operator<<(std::wostream& os,
character_casing
value) {
return
os <<
to_string
(value, {{
character_casing::normal
, L
"normal"
}, {
character_casing::upper
, L
"upper"
}, {
character_casing::lower
, L
"lower"
}});}
31
}
32
}
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::character_casing
character_casing
Specifies the case of characters in a text_box control.
Definition:
character_casing.h:18
xtd::forms::character_casing::upper
@ upper
Converts all characters to uppercase.
xtd::forms::character_casing::lower
@ lower
Converts all characters to lowercase.
xtd::forms::character_casing::normal
@ normal
The case of characters is left unchanged.
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 Mon Jul 17 2023 23:13:05 for xtd - Reference Guide by
Gammasoft
. All rights reserved.