xtd 0.2.0
picture_box_size_mode.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
34 }
35}
36
40};
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
picture_box_size_mode
Specifies how an image is positioned within a picture_box.
Definition picture_box_size_mode.hpp:22
@ center_image
The image is displayed in the center if the picture_box is larger than the image. If the image is lar...
Definition picture_box_size_mode.hpp:30
@ zoom
The size of the image is increased or decreased maintaining the size ratio.
Definition picture_box_size_mode.hpp:32
@ stretch_image
The image within the picture_box is stretched or shrunk to fit the size of the picture_box.
Definition picture_box_size_mode.hpp:26
@ auto_size
The picture_box is sized equal to the size of the image that it contains.
Definition picture_box_size_mode.hpp:28
@ normal
The image is placed in the upper-left corner of the picture_box. The image is clipped if it is larger...
Definition picture_box_size_mode.hpp:24
@ zoom
The image is enlarged within the control's client rectangle.
Definition image_layout.hpp:31
@ normal
The default appearance defined by the control class.
Definition appearance.hpp:24
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38