xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
arrange_starting_position.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
23
enum class
arrange_starting_position
{
25
bottom_left
= 0,
27
bottom_right
= 1,
29
top_left
= 2,
31
top_right
= 3,
33
hide
= 8
34
};
35
}
36
}
37
39
flags_attribute_
(
xtd::forms
, arrange_starting_position);
41
43
template
<>
struct
xtd::enum_register
<
xtd
::
forms::arrange_starting_position
> {
44
static
auto
values
() noexcept {
return
xtd::enum_collection<xtd::forms::arrange_starting_position>
{{
xtd::forms::arrange_starting_position::bottom_left
,
"bottom_left"
}, {
xtd::forms::arrange_starting_position::bottom_right
,
"bottom_right"
}, {
xtd::forms::arrange_starting_position::top_left
,
"top_left"
}, {
xtd::forms::arrange_starting_position::top_right
,
"top_right"
}, {
xtd::forms::arrange_starting_position::hide
,
"hide"
}};}
45
};
flags_attribute_
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition
flags_attribute.hpp:34
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::arrange_starting_position
arrange_starting_position
Specifies the starting position that the system uses to arrange minimized windows.
Definition
arrange_starting_position.hpp:23
xtd::forms::arrange_starting_position::bottom_left
@ bottom_left
Starts at the lower-left corner of the screen, which is the default position.
Definition
arrange_starting_position.hpp:25
xtd::forms::arrange_starting_position::top_left
@ top_left
Starts at the upper-left corner of the screen.
Definition
arrange_starting_position.hpp:29
xtd::forms::arrange_starting_position::hide
@ hide
Hides minimized windows by moving them off the visible area of the screen.
Definition
arrange_starting_position.hpp:33
xtd::forms::arrange_starting_position::bottom_right
@ bottom_right
Starts at the lower-right corner of the screen.
Definition
arrange_starting_position.hpp:27
xtd::forms::arrange_starting_position::top_right
@ top_right
Starts at the upper-right corner of the screen.
Definition
arrange_starting_position.hpp:31
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.