xtd 0.2.0
Loading...
Searching...
No Matches
tick_style.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
22 enum class tick_style {
24 none = 0,
26 top_left = 1,
28 bottom_right = 2,
30 both = 3,
31 };
32 }
33}
34
36template<> struct xtd::enum_register<xtd::forms::tick_style> {
37 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::forms::tick_style> {{xtd::forms::tick_style::none, "none"}, {xtd::forms::tick_style::top_left, "top_left"}, {xtd::forms::tick_style::bottom_right, "bottom_right"}, {xtd::forms::tick_style::both, "both"}};}
38};
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
tick_style
Specifies the location of tick marks in a track_bar control.
Definition tick_style.hpp:22
@ none
No tick marks appear in the control.
@ top_left
Tick marks are located on the top of a horizontal control or on the left of a vertical control.
@ bottom_right
Tick marks are located on the bottom of a horizontal control or on the right side of a vertical contr...
@ both
Tick marks are located on both sides of the control.
@ top_left
Starts at the upper-left corner of the screen.
@ bottom_right
Starts at the lower-right corner of the screen.
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