xtd 0.2.0
Loading...
Searching...
No Matches
image_layout.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
19 enum class image_layout {
21 none = 0,
23 tile = 1,
25 center = 2,
27 stretch = 3,
29 zoom = 4,
30 };
31 }
32}
33
35template<> struct xtd::enum_register<xtd::forms::image_layout> {
37};
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:19
image_layout
Specifies the position of the image on the control.
Definition image_layout.h:19
@ 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.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36