xtd 0.2.0
Loading...
Searching...
No Matches
bounds_specified.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
22 enum class bounds_specified {
24 none = 0,
26 x = 0b1,
28 y = 0b10,
30 location = x | y,
32 width = 0b100,
34 height = 0b1000,
36 size = width | height,
38 all = location | size,
39 };
40 }
41}
42
44flags_attribute_(xtd::forms, bounds_specified);
47};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
size_t size
Represents a size of any object in bytes.
Definition size.h:23
std::vector< xtd::collections::generic::key_value_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.h:22
bounds_specified
Specifies the bounds of the control to use when defining a control's size and position....
Definition bounds_specified.h:22
@ y
Specifies that the top edge of the control is defined.
@ x
Specifies that the left edge of the control is defined.
@ height
Specifies that the height of the control is defined.
@ location
Specifies that both the x and y coordinates of the control are defined.
@ width
Specifies that the width of the control is defined.
@ size
Specifies that both the width and height property values of the control are defined.
@ all
All flags except none.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38