xtd 0.2.0
combo_box_style.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
22  enum class combo_box_style {
24  simple = 1,
26  drop_down = 2,
28  drop_down_list = 3,
29  };
30  }
31 }
32 
34 template<> struct xtd::enum_register<xtd::forms::combo_box_style> {
35  explicit operator auto() const noexcept {return xtd::enum_collection<xtd::forms::combo_box_style> {{xtd::forms::combo_box_style::simple, "simple"}, {xtd::forms::combo_box_style::drop_down, "drop_down"}, {xtd::forms::combo_box_style::drop_down_list, "drop_down_list"}};}
36 };
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Specifies that the list is always visible and that the text portion is editable. This means that the ...
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
Specifies that the list is displayed by clicking the down arrow and that the text portion is editable...
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Specifies that the list is displayed by clicking the down arrow and that the text portion is not edit...
combo_box_style
Specifies the combo_box style.
Definition: combo_box_style.h:22
Provides the registration struct for enumerations.
Definition: enum_register.h:36