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 {
20 enum class bounds_specified {
22 none = 0,
24 x = 0b1,
26 y = 0b10,
28 location = x | y,
30 width = 0b100,
32 height = 0b1000,
34 size = width | height,
36 all = location | size,
37 };
38 }
39}
40
42flags_attribute_(xtd::forms, bounds_specified);
45};
#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 types.h:197
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:19
bounds_specified
Specifies the bounds of the control to use when defining a control's size and position....
Definition bounds_specified.h:20
@ 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:36