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 {
21 enum class pseudo_state {
25 hover = 0b1,
27 pressed = 0b10,
29 disabled = 0b100,
31 focused = 0b1000,
33 default_state = 0b10000,
37 checked = 0b100000,
39 mixed = 0b1000000,
42 link = 0b10000000,
45 visited = 0b100000000,
48 active = 0b1000000000,
49 };
50 }
51 }
52}
53
55flags_attribute_(xtd::forms, style_sheets::pseudo_state);
56
59};
#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:21
@ 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< 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 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