xtd 0.2.0
bounds_specified.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace 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 
43 template<> struct xtd::enum_register<xtd::forms::bounds_specified> {
45 };
Specifies that the top edge of the control is defined.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Specifies that the left edge of the control is defined.
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
Specifies that the height of the control is defined.
Specifies that both the width and height property values of the control are defined.
Specifies that both the location and size property values are defined.
Specifies that the width of the control is defined.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Specifies that both the x and y coordinates of the control are defined.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
bounds_specified
Specifies the bounds of the control to use when defining a control&#39;s size and position. This enumeration has a flags attribute that allows a bitwise combination of its member values.
Definition: bounds_specified.h:20
size_t size
Represents a size of any object in bytes.
Definition: types.h:195
Provides the registration struct for enumerations.
Definition: enum_register.h:36