xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
style_sheets
image_type.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
12
namespace
style_sheets
{
23
enum class
image_type
{
25
none
,
27
url
,
29
linear_gradient
,
31
radial_gradient
,
33
conic_gradient
,
34
};
35
}
36
}
37
}
38
40
template
<>
struct
xtd::enum_register
<
xtd
::
forms::style_sheets::image_type
> {
41
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::style_sheets::image_type>
{{
xtd::forms::style_sheets::image_type::none
,
"none"
}, {
xtd::forms::style_sheets::image_type::url
,
"url"
}, {
xtd::forms::style_sheets::image_type::linear_gradient
,
"linear_gradient"
}, {
xtd::forms::style_sheets::image_type::radial_gradient
,
"radial_gradient"
}, {
xtd::forms::style_sheets::image_type::conic_gradient
,
"conic_gradient"
}};}
42
};
xtd::forms::style_sheets::image_type
image_type
The image_type enum class specifies what kind of image to display.
Definition
image_type.hpp:23
xtd::forms::style_sheets::image_type::none
@ none
Defines no image.
Definition
image_type.hpp:25
xtd::forms::style_sheets::image_type::linear_gradient
@ linear_gradient
Defines a linear_gradient image.
Definition
image_type.hpp:29
xtd::forms::style_sheets::image_type::url
@ url
Defines url image.
Definition
image_type.hpp:27
xtd::forms::style_sheets::image_type::radial_gradient
@ radial_gradient
Defines a radial_gradient image.
Definition
image_type.hpp:31
xtd::forms::style_sheets::image_type::conic_gradient
@ conic_gradient
Defines a conic_gradient image.
Definition
image_type.hpp:33
xtd::forms::style_sheets::border_type::none
@ none
Defines no border.
Definition
border_type.hpp:25
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::style_sheets
The xtd::forms::style_sheets namespace contains various properties, states, and subcontrols that make...
Definition
background_image.hpp:21
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.