xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
date_time_picker_format.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
date_time_picker_format
{
24
long_format
= 1,
26
short_format
= 2,
28
time
= 4,
30
custom
= 8,
31
};
32
}
33
}
34
36
template
<>
struct
xtd::enum_register
<
xtd
::
forms::date_time_picker_format
> {
37
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::date_time_picker_format>
{{
xtd::forms::date_time_picker_format::long_format
,
"long_format"
}, {
xtd::forms::date_time_picker_format::short_format
,
"short_format"
}, {
xtd::forms::date_time_picker_format::time
,
"time"
}, {
xtd::forms::date_time_picker_format::custom
,
"custom"
}};}
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::date_time_picker_format
date_time_picker_format
Specifies the date and time format the date_time_picker control displays.
Definition
date_time_picker_format.hpp:22
xtd::forms::date_time_picker_format::time
@ time
The date_time_picker control displays the date/time value in the time format set by the user's operat...
Definition
date_time_picker_format.hpp:28
xtd::forms::date_time_picker_format::long_format
@ long_format
The date_time_picker control displays the date/time value in the long date format set by the user's o...
Definition
date_time_picker_format.hpp:24
xtd::forms::date_time_picker_format::custom
@ custom
The date_time_picker control displays the date/time value in a custom format.
Definition
date_time_picker_format.hpp:30
xtd::forms::date_time_picker_format::short_format
@ short_format
The date_time_picker control displays the date/time value in the short date format set by the user's ...
Definition
date_time_picker_format.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.