xtd 0.2.0
Loading...
Searching...
No Matches
vertical_control_layout_style.h
Go to the documentation of this file.
1
4#pragma once
6#include <xtd/iequatable>
7#include <xtd/optional>
8
10namespace xtd {
12 namespace forms {
23 class vertical_control_layout_style : public control_layout_style, public xtd::iequatable<vertical_control_layout_style> {
24 public:
26
129
131
135 std::optional<float> height() const noexcept;
138 void height(float height);
140
142
144 using control_layout_style::equals;
145 bool equals(const vertical_control_layout_style& value) const noexcept override;
146
149 xtd::string to_string() const noexcept override;
151
152 private:
153 std::optional<float> height_;
154 };
155 }
156}
Implements the basic functionality that represents the appearance and behavior of a control layout.
Definition control_layout_style.h: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 vertical_control_layout_style.h:23
vertical_control_layout_style(xtd::forms::size_type size_type)
Initialises a new instance of vertical control layout style class with specified size type.
std::optional< float > height() const noexcept
Gets the height value for a control.
vertical_control_layout_style(int32 height, xtd::forms::size_type size_type, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified height,...
vertical_control_layout_style(float height, xtd::forms::size_type size_type, bool expanded)
Initialises a new instance of vertical control layout style class with specified height,...
vertical_control_layout_style(float height, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified height,...
vertical_control_layout_style(float height, bool expanded)
Initialises a new instance of vertical control layout style class with specified height and expanded.
vertical_control_layout_style(xtd::forms::size_type size_type, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified size type and conten...
vertical_control_layout_style(float height, xtd::forms::size_type size_type)
Initialises a new instance of vertical control layout style class with specified height and size type...
vertical_control_layout_style(float height)
Initialises a new instance of vertical control layout style class with specified height.
vertical_control_layout_style(int32 height, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified height and content a...
vertical_control_layout_style(int32 height, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified height,...
vertical_control_layout_style(bool expanded)
Initialises a new instance of vertical control layout style class with specified expanded.
vertical_control_layout_style(float height, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified height and content a...
vertical_control_layout_style(float height, xtd::forms::size_type size_type, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified height,...
vertical_control_layout_style(int32 height, xtd::forms::size_type size_type)
Initialises a new instance of vertical control layout style class with specified height and size type...
vertical_control_layout_style(xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified content alignment.
vertical_control_layout_style(int32 height, xtd::forms::size_type size_type, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified height,...
vertical_control_layout_style(int32 height, bool expanded)
Initialises a new instance of vertical control layout style class with specified height and expanded.
vertical_control_layout_style(float height, xtd::forms::size_type size_type, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified height,...
vertical_control_layout_style(xtd::forms::size_type size_type, bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified size type,...
vertical_control_layout_style(xtd::forms::size_type size_type, bool expanded)
Initialises a new instance of vertical control layout style class with specified size type and expand...
vertical_control_layout_style(bool expanded, xtd::forms::content_alignment align)
Initialises a new instance of vertical control layout style class with specified expanded and content...
vertical_control_layout_style(int32 height)
Initialises a new instance of vertical control layout style class with specified height.
vertical_control_layout_style(int32 height, xtd::forms::size_type size_type, bool expanded)
Initialises a new instance of vertical control layout style class with specified height,...
xtd::string to_string() const noexcept override
Returns a string that represent xtd::forms::control_layout_style.
vertical_control_layout_style()=default
Initialises a new instance of vertical control layout style class.
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:22
Contains xtd::forms::control_layout_style class.
std::optional< type_t > optional
Represents the null_opt alias on std::nullopt_t.
Definition optional.h:181
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
size_type
Specifies how rows or columns of user interface (UI) elements should be sized relative to their conta...
Definition size_type.h:22
content_alignment
Specifies alignment of content on the drawing surface.
Definition content_alignment.h:21
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