xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
progress_bar_style.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
22
enum class
progress_bar_style
{
24
blocks
= 0,
26
continuous
= 1,
28
marquee
= 2,
29
};
30
}
31
}
32
34
template
<>
struct
xtd::enum_register
<
xtd
::
forms::progress_bar_style
> {
35
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::progress_bar_style>
{{
xtd::forms::progress_bar_style::blocks
,
"blocks"
}, {
xtd::forms::progress_bar_style::continuous
,
"continuous"
}, {
xtd::forms::progress_bar_style::marquee
,
"marquee"
}};}
36
};
xtd::enum_collection
std::vector< std::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:24
xtd::forms::progress_bar_style
progress_bar_style
Specifies the progress_bar_style of controls or elements of controls.
Definition
progress_bar_style.hpp:22
xtd::forms::progress_bar_style::marquee
@ marquee
Indicates progress by continuously scrolling a block across a progress_bar in a marquee fashion.
Definition
progress_bar_style.hpp:28
xtd::forms::progress_bar_style::continuous
@ continuous
Indicates progress by increasing the size of a smooth, continuous bar in a progress_bar.
Definition
progress_bar_style.hpp:26
xtd::forms::progress_bar_style::blocks
@ blocks
Indicates progress by increasing the number of segmented blocks in a progress_bar.
Definition
progress_bar_style.hpp:24
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.