#include <control_layout_style.h>
Implements the basic functionality that represents the appearance and behavior of a control layout.
- Namespace
- xtd::forms
- Library
- xtd.forms
Inherits xtd::object.
Inherited by xtd::forms::horizontal_control_layout_style, and xtd::forms::vertical_control_layout_style.
|
static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal. More...
|
|
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance. More...
|
|
◆ control_layout_style() [1/8]
xtd::forms::control_layout_style::control_layout_style |
( |
| ) |
|
|
protecteddefault |
Initialises a new instance of control layout style class.
◆ control_layout_style() [2/8]
Initialises a new instance of control layout style class with specified size type.
- Parameters
-
size_type | One of the xtd::forms::size_type values that specifies how layout container of user interface (UI) elements should be sized relative to their container. |
◆ control_layout_style() [3/8]
xtd::forms::control_layout_style::control_layout_style |
( |
bool |
expanded | ) |
|
|
inlineprotected |
Initialises a new instance of control layout style class with specified expanded.
- Parameters
-
expanded | true if control expanded; otherwise false. |
◆ control_layout_style() [4/8]
Initialises a new instance of control layout style class with specified content alignment.
- Parameters
-
expanded | true if control expanded; otherwise false. |
align | One of the content_alignment values.. |
◆ control_layout_style() [5/8]
xtd::forms::control_layout_style::control_layout_style |
( |
xtd::forms::size_type |
size_type, |
|
|
bool |
expanded |
|
) |
| |
|
inlineprotected |
Initialises a new instance of control layout style class with specified size type and expanded.
- Parameters
-
size_type | One of the xtd::forms::size_type values that specifies how layout container of user interface (UI) elements should be sized relative to their container. |
expanded | true if control expanded; otherwise false. |
◆ control_layout_style() [6/8]
Initialises a new instance of control layout style class with specified size type and content alignment.
- Parameters
-
size_type | One of the xtd::forms::size_type values that specifies how layout container of user interface (UI) elements should be sized relative to their container. |
align | One of the content_alignment values. |
◆ control_layout_style() [7/8]
Initialises a new instance of control layout style class with specified size type, expanded and content alignment.
- Parameters
-
size_type | One of the xtd::forms::size_type values that specifies how layout container of user interface (UI) elements should be sized relative to their container. |
expanded | true if control expanded; otherwise false. |
align | One of the content_alignment values. |
◆ control_layout_style() [8/8]
Initialises a new instance of control layout style class with specified expanded and content alignment.
- Parameters
-
expanded | true if control expanded; otherwise false. |
align | One of the content_alignment values.. |
◆ align() [1/2]
Gets a flag indicating how a control should be align to its containing layout container.
- Returns
- align One of the content_alignment values. The default is top_left.
◆ align() [2/2]
Sets a flag indicating how a control should be align to its containing layout container.
- Parameters
-
align | One of the content_alignment values. The default is top_left. |
◆ expanded() [1/2]
bool xtd::forms::control_layout_style::expanded |
( |
| ) |
const |
|
inline |
Gets a flag indicating if control is expanded to its containing layout container.
- Returns
- true if control expanded; otherwise false. The default is false.
◆ expanded() [2/2]
Sets a flag indicating if control is expanded to its containing layout container.
- Parameters
-
expanded | true if control expanded; otherwise false. The default is false. |
◆ size_type() [1/2]
Gets a flag indicating how a control should be sized relative to its containing layout container.
- Returns
- One of the xtd::forms::size_type values that specifies how layout container of user interface (UI) elements should be sized relative to their container. The default is xtd::forms::size_type::absolute.
◆ size_type() [2/2]
Sets a flag indicating how a control should be sized relative to its containing layout container.
- Parameters
-
◆ to_string()
xtd::ustring xtd::forms::control_layout_style::to_string |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
The documentation for this class was generated from the following file: