xtd 0.2.0
Loading...
Searching...
No Matches
flat_style.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
24 enum class flat_style {
26 flat = 0,
28 popup,
32 system,
33 };
34 }
35}
36
38template<> struct xtd::enum_register<xtd::forms::flat_style> {
39 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::forms::flat_style> {{xtd::forms::flat_style::flat, "flat"}, {xtd::forms::flat_style::popup, "popup"}, {xtd::forms::flat_style::standard, "standard"}, {xtd::forms::flat_style::system, "system"}};}
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.hpp:22
flat_style
Specifies the appearance of a control.
Definition flat_style.hpp:24
@ flat
The button has a flat, two-dimensional appearance.
@ system
The appearance of the control is determined by the user's operating system.
@ standard
The appearance of the control is determined by current theme of xtd.
@ flat
The control appears flat.
@ system
The appearance of the control is determined by the user's operating system.
@ popup
A control appears flat until the mouse pointer moves over it, at which point it appears three-dimensi...
@ standard
The control appears three-dimensional.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38