xtd 0.2.0
Loading...
Searching...
No Matches
control_layout_style.hpp
Go to the documentation of this file.
1
4#pragma once
6#include "size_type.hpp"
7#include <xtd/iequatable>
8#include <xtd/object>
9#include <xtd/string>
10
12namespace xtd {
14 namespace forms {
25 class control_layout_style : public object, public xtd::iequatable<control_layout_style> {
26 struct data;
27
28 protected:
30
62
63 public:
68
70
78
81 bool expanded() const noexcept;
85
89 xtd::forms::content_alignment align() const noexcept;
95
97
99 using object::equals;
100 bool equals(const control_layout_style& value) const noexcept override;
101
104 xtd::string to_string() const noexcept override;
106
107 private:
108 xtd::sptr<data> data_;
109 };
110 }
111}
Implements the basic functionality that represents the appearance and behavior of a control layout.
Definition control_layout_style.hpp:25
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...
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.
xtd::string to_string() const noexcept override
Returns a string that represent xtd::forms::control_layout_style.
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
@ 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.hpp:22
content_alignment
Specifies alignment of content on the drawing surface.
Definition content_alignment.hpp:21
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::size_type enum class.
Contains xtd::forms::content_alignment enum class.