xtd 0.2.0
Loading...
Searching...
No Matches
pseudo_state.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
12 namespace style_sheets {
23 enum class pseudo_state {
27 hover = 0b1,
29 pressed = 0b10,
31 disabled = 0b100,
33 focused = 0b1000,
35 default_state = 0b10000,
39 checked = 0b100000,
41 mixed = 0b1000000,
44 link = 0b10000000,
47 visited = 0b100000000,
50 active = 0b1000000000,
51 };
52 }
53 }
54}
55
57flags_attribute_(xtd::forms, style_sheets::pseudo_state);
58
61};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
pseudo_state
The pseudo_state enum class flag specifies the pseudo state of an element.
Definition pseudo_state.h:23
@ disabled
The irem is disabled, generally the item is grayed.
@ visited
The item is visited text.
@ mixed
The item is mixed. For the three-state ittem.
@ pressed
The irem is pressed, mouse is down on the item.
@ default_state
The item is the default (see ibutton_control).
@ unchecked
The item is unchecked.
@ standard
The item is in standard state.
@ active
The item is ative text.
@ hover
The item is hover (mouse is on the item).
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.h:22
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:38