xtd 0.2.0
Loading...
Searching...
No Matches
control_layout_style.h
Go to the documentation of this file.
1
4#pragma once
5#include "content_alignment.h"
6#include "size_type.h"
7#include <xtd/iequatable>
8#include <xtd/object>
9#include <xtd/ustring>
10
12namespace xtd {
14 namespace forms {
23 class control_layout_style : public object, public xtd::iequatable<control_layout_style> {
24 struct data;
25
26 protected:
28
60
61 public:
66
68
76
79 bool expanded() const noexcept;
83
87 xtd::forms::content_alignment align() const noexcept;
93
95
97 bool equals(const control_layout_style& value) const noexcept override;
98
101 xtd::ustring to_string() const noexcept override;
103
104 private:
105 std::shared_ptr<data> data_;
106 };
107 }
108}
Implements the basic functionality that represents the appearance and behavior of a control layout.
Definition control_layout_style.h:23
bool expanded() const noexcept
Gets a flag indicating if control is expanded to its containing layout container.
control_layout_style(xtd::forms::content_alignment align)
Initialises a new instance of control layout style class with specified content alignment.
xtd::forms::size_type size_type() const noexcept
Gets a flag indicating how a control should be sized relative to its containing layout container.
xtd::forms::content_alignment align() const noexcept
Gets a flag indicating how a control should be align to its containing layout container.
control_layout_style()
Initialises a new instance of control layout style class.
control_layout_style(xtd::forms::size_type size_type, xtd::forms::content_alignment align)
Initialises a new instance of control layout style class with specified size type and content alignme...
control_layout_style(xtd::forms::size_type size_type, bool expanded)
Initialises a new instance of control layout style class with specified size type and expanded.
control_layout_style(xtd::forms::size_type size_type, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of control layout style class with specified size type,...
control_layout_style(bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of control layout style class with specified expanded and content alignmen...
xtd::ustring to_string() const noexcept override
Returns a string that represent xtd::forms::control_layout_style.
control_layout_style(bool expanded)
Initialises a new instance of control layout style class with specified expanded.
control_layout_style(xtd::forms::size_type size_type)
Initialises a new instance of control layout style class with specified size type.
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:18
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:32
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
Contains xtd::forms::content_alignment enum class.
@ other
The operating system is other.
size_type
Specifies how rows or columns of user interface (UI) elements should be sized relative to their conta...
Definition size_type.h:20
content_alignment
Specifies alignment of content on the drawing surface.
Definition content_alignment.h:19
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
Contains xtd::forms::size_type enum class.