xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
auto_size_mode.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
22
enum class
auto_size_mode
{
24
grow_and_shrink
= 0,
26
grow_only
= 1,
27
};
28
}
29
}
30
32
template
<>
struct
xtd::enum_register
<
xtd
::
forms::auto_size_mode
> {
33
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::auto_size_mode>
{{
xtd::forms::auto_size_mode::grow_and_shrink
,
"grow_and_shrink"
}, {
xtd::forms::auto_size_mode::grow_only
,
"grow_only"
}};}
34
};
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::forms::auto_size_mode
auto_size_mode
Specifies how a control will behave when its auto_size property is enabled.
Definition
auto_size_mode.hpp:22
xtd::forms::auto_size_mode::grow_only
@ grow_only
The control grows as much as necessary to fit its contents but does not shrink smaller than the value...
Definition
auto_size_mode.hpp:26
xtd::forms::auto_size_mode::grow_and_shrink
@ grow_and_shrink
The control grows or shrinks to fit its contents. The control cannot be resized manually.
Definition
auto_size_mode.hpp:24
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.