xtd 0.2.0
Loading...
Searching...
No Matches
picture_box_size_mode.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
24 normal = 0,
26 stretch_image = 1,
28 auto_size = 2,
30 center_image = 3,
32 zoom = 4,
33 };
34 }
35}
36
40};
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.h:22
picture_box_size_mode
Specifies how an image is positioned within a picture_box.
Definition picture_box_size_mode.h:22
@ center_image
The image is displayed in the center if the picture_box is larger than the image. If the image is lar...
@ zoom
The size of the image is increased or decreased maintaining the size ratio.
@ stretch_image
The image within the picture_box is stretched or shrunk to fit the size of the picture_box.
@ auto_size
The picture_box is sized equal to the size of the image that it contains.
@ normal
The image is placed in the upper-left corner of the picture_box. The image is clipped if it is larger...
@ zoom
The image is enlarged within the control's client rectangle.
@ normal
The default appearance defined by the control class.
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:38