xtd 0.2.0
Loading...
Searching...
No Matches
image_layout.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace 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
37template<> struct xtd::enum_register<xtd::forms::image_layout> {
39};
std::vector< xtd::collections::generic::key_value_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:22
image_layout
Specifies the position of the image on the control.
Definition image_layout.hpp:21
@ tile
The image is tiled across the control's client rectangle.
@ zoom
The image is enlarged within the control's client rectangle.
@ none
The image is left-aligned at the top across the control's client rectangle.
@ stretch
The image is stretched across the control's client rectangle.
@ center
The image is centered within the control's client rectangle.
@ center
The object or text is aligned in the center of the control element.
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
Provides the registration struct for enumerations.
Definition enum_register.hpp:38