xtd 0.2.0
tick_style.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
20  enum class tick_style {
22  none = 0,
24  top_left = 1,
26  bottom_right = 2,
28  both = 3,
29  };
30  }
31 }
32 
34 template<> struct xtd::enum_register<xtd::forms::tick_style> {
35  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"}};}
36 };
Tick marks are located on the top of a horizontal control or on the left of a vertical control...
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
Tick marks are located on both sides of the control.
tick_style
Specifies the location of tick marks in a track_bar control.
Definition: tick_style.h:20
No tick marks appear in the control.
Tick marks are located on the bottom of a horizontal control or on the right side of a vertical contr...
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Provides the registration struct for enumerations.
Definition: enum_register.h:36