xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
image_layout.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
21
enum class
image_layout
{
23
none
= 0,
25
tile
= 1,
27
center
= 2,
29
stretch
= 3,
31
zoom
= 4,
32
};
33
}
34
}
35
37
template
<>
struct
xtd::enum_register
<
xtd
::
forms::image_layout
> {
38
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::image_layout>
{{
xtd::forms::image_layout::none
,
"none"
}, {
xtd::forms::image_layout::tile
,
"tile"
}, {
xtd::forms::image_layout::center
,
"center"
}, {
xtd::forms::image_layout::stretch
,
"stretch"
}, {
xtd::forms::image_layout::zoom
,
"zoom"
}};}
39
};
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::image_layout
image_layout
Specifies the position of the image on the control.
Definition
image_layout.hpp:21
xtd::forms::image_layout::tile
@ tile
The image is tiled across the control's client rectangle.
Definition
image_layout.hpp:25
xtd::forms::image_layout::zoom
@ zoom
The image is enlarged within the control's client rectangle.
Definition
image_layout.hpp:31
xtd::forms::image_layout::none
@ none
The image is left-aligned at the top across the control's client rectangle.
Definition
image_layout.hpp:23
xtd::forms::image_layout::stretch
@ stretch
The image is stretched across the control's client rectangle.
Definition
image_layout.hpp:29
xtd::forms::image_layout::center
@ center
The image is centered within the control's client rectangle.
Definition
image_layout.hpp:27
xtd::forms::horizontal_alignment::center
@ center
The object or text is aligned in the center of the control element.
Definition
horizontal_alignment.hpp:28
xtd::forms::anchor_styles::none
@ none
no styles.
Definition
anchor_styles.hpp:21
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.