xtd 0.2.0
picture_box_size_mode.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
20  enum class picture_box_size_mode {
22  normal = 0,
24  stretch_image = 1,
26  auto_size = 2,
28  center_image = 3,
30  zoom = 4,
31  };
32  }
33 }
34 
36 template<> struct xtd::enum_register<xtd::forms::picture_box_size_mode> {
38 };
The default appearance defined by the control class.
The picture_box is sized equal to the size of the image that it contains.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The image within the picture_box is stretched or shrunk to fit the size of the picture_box.
The image is enlarged within the control&#39;s client rectangle.
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
The image is displayed in the center if the picture_box is larger than the image. If the image is lar...
picture_box_size_mode
Specifies how an image is positioned within a picture_box.
Definition: picture_box_size_mode.h:20
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Provides the registration struct for enumerations.
Definition: enum_register.h:36