xtd 0.2.0
Loading...
Searching...
No Matches
horizontal_control_layout_style.hpp
Go to the documentation of this file.
1
4#pragma once
6#include <xtd/optional>
7#include <xtd/iequatable>
8
10namespace xtd {
12 namespace forms {
23 class horizontal_control_layout_style : public control_layout_style, public xtd::iequatable<horizontal_control_layout_style> {
24 public:
26
129
131
135 std::optional<float> width() const noexcept;
138 void width(float width);
140
142
144 using control_layout_style::equals;
145 bool equals(const horizontal_control_layout_style& value) const noexcept override;
146
149 xtd::string to_string() const noexcept override;
151
152 private:
153 std::optional<float> width_;
154 };
155 }
156}
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.
xtd::forms::content_alignment align() const noexcept
Gets a flag indicating how a control should be align to its containing layout container.
Implements the basic functionality that represents the appearance and behavior of a control layout.
Definition horizontal_control_layout_style.hpp:23
horizontal_control_layout_style(int32 width, xtd::forms::size_type size_type, bool expanded)
Initialises a new instance of horizontal control layout style class with specified width,...
horizontal_control_layout_style(int32 width, xtd::forms::size_type size_type, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified width,...
horizontal_control_layout_style(float width)
Initialises a new instance of horizontal control layout style class with specified width.
horizontal_control_layout_style(xtd::forms::size_type size_type, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of horizontal 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.
horizontal_control_layout_style(int32 width)
Initialises a new instance of horizontal control layout style class with specified width.
horizontal_control_layout_style(float width, bool expanded)
Initialises a new instance of horizontal control layout style class with specified width and expanded...
horizontal_control_layout_style(xtd::forms::size_type size_type, bool expanded)
Initialises a new instance of horizontal control layout style class with specified size type and expa...
horizontal_control_layout_style(float width, xtd::forms::size_type size_type, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified width,...
horizontal_control_layout_style(int32 width, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified width and content ...
horizontal_control_layout_style(float width, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified expanded and conte...
horizontal_control_layout_style(int32 width, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified expanded and conte...
horizontal_control_layout_style(xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified content alignment.
horizontal_control_layout_style(float width, xtd::forms::size_type size_type, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified width,...
std::optional< float > width() const noexcept
Gets the width value for a control.
horizontal_control_layout_style(float width, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified width and content ...
horizontal_control_layout_style(int32 width, xtd::forms::size_type size_type)
Initialises a new instance of horizontal control layout style class with specified width and size typ...
horizontal_control_layout_style()=default
Initialises a new instance of horizontal control layout style class.
horizontal_control_layout_style(bool expanded)
Initialises a new instance of horizontal control layout style class with specified expanded.
horizontal_control_layout_style(float width, xtd::forms::size_type size_type, bool expanded)
Initialises a new instance of horizontal control layout style class with specified width,...
horizontal_control_layout_style(int32 width, xtd::forms::size_type size_type, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified width,...
horizontal_control_layout_style(xtd::forms::size_type size_type)
Initialises a new instance of horizontal control layout style class with specified size type.
horizontal_control_layout_style(bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified expanded and conte...
horizontal_control_layout_style(float width, xtd::forms::size_type size_type)
Initialises a new instance of horizontal control layout style class with specified width and size typ...
horizontal_control_layout_style(xtd::forms::size_type size_type, xtd::forms::content_alignment align)
Initialises a new instance of horizontal control layout style class with specified size type and cont...
horizontal_control_layout_style(int32 width, bool expanded)
Initialises a new instance of horizontal control layout style class with specified width and expanded...
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Contains xtd::forms::control_layout_style class.
std::optional< type_t > optional
Represents the null_opt alias on std::nullopt_t.
Definition optional.hpp:181
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
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