xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
style_sheets
white_space.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
white_space
{
25
normal
,
27
no_wrap
,
29
pre
,
31
pre_line
,
33
pre_wrap
,
34
};
35
}
36
}
37
}
38
40
template
<>
struct
xtd::enum_register
<
xtd
::
forms::style_sheets::white_space
> {
41
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::style_sheets::white_space>
{{
xtd::forms::style_sheets::white_space::normal
,
"normal"
}, {
xtd::forms::style_sheets::white_space::no_wrap
,
"no_wrap"
}, {
xtd::forms::style_sheets::white_space::pre
,
"pre"
}, {
xtd::forms::style_sheets::white_space::pre_line
,
"pre_line"
}, {
xtd::forms::style_sheets::white_space::pre_wrap
,
"pre_wrap"
}};}
42
};
xtd::forms::style_sheets::white_space
white_space
The white_space enum class specifies how white-space inside an element is handled.
Definition
white_space.hpp:23
xtd::forms::style_sheets::white_space::pre_wrap
@ pre_wrap
Whitespace is preserved by the browser. Text will wrap when necessary, and on line breaks.
Definition
white_space.hpp:33
xtd::forms::style_sheets::white_space::no_wrap
@ no_wrap
Sequences of whitespace will collapse into a single whitespace. Text will never wrap to the next line...
Definition
white_space.hpp:27
xtd::forms::style_sheets::white_space::pre
@ pre
Whitespace is preserved by the browser. Text will only wrap on line breaks. Acts like the.
Definition
white_space.hpp:29
xtd::forms::style_sheets::white_space::pre_line
@ pre_line
Sequences of whitespace will collapse into a single whitespace. Text will wrap when necessary,...
Definition
white_space.hpp:31
xtd::forms::style_sheets::white_space::normal
@ normal
Sequences of whitespace will collapse into a single whitespace. Text will wrap when necessary....
Definition
white_space.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.