xtd 0.2.0
Loading...
Searching...
No Matches
flat_style.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
22 enum class flat_style {
24 flat = 0,
26 popup,
30 system,
31 };
32 }
33}
34
36template<> struct xtd::enum_register<xtd::forms::flat_style> {
37 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"}};}
38};
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
flat_style
Specifies the appearance of a control.
Definition flat_style.h:22
@ 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.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36