xtd 0.2.0
Loading...
Searching...
No Matches
tick_style.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace 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
34template<> 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};
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_style
Specifies the location of tick marks in a track_bar control.
Definition tick_style.h:20
@ 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.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