xtd 0.2.0
control_appearance.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
19  enum class control_appearance {
21  standard = 0,
23  system,
24  };
25  }
26 }
27 
29 template<> struct xtd::enum_register<xtd::forms::control_appearance> {
30  explicit operator auto() const noexcept {return xtd::enum_collection<xtd::forms::control_appearance> {{xtd::forms::control_appearance::standard, "standard"}, {xtd::forms::control_appearance::system, "system"}};}
31 };
The appearance of the control is determined by the user&#39;s operating system.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The appearance of the control is determined by current theme of xtd.
control_appearance
Specifies the appearance of a control.
Definition: control_appearance.h:19
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 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