xtd 0.2.0
Loading...
Searching...
No Matches

◆ white_space

The white_space enum class specifies how white-space inside an element is handled.

Header
#include <xtd/forms/style_sheets/white_space>
Namespace
xtd::forms::style_sheets
Library
xtd.forms
Enumerator
normal 

Sequences of whitespace will collapse into a single whitespace. Text will wrap when necessary. This is default.

no_wrap 

Sequences of whitespace will collapse into a single whitespace. Text will never wrap to the next line. The text continues on the same line until a
tag is encountered.

pre 

Whitespace is preserved by the browser. Text will only wrap on line breaks. Acts like the.

 tag in HTML
pre_line 

Sequences of whitespace will collapse into a single whitespace. Text will wrap when necessary, and on line breaks.

pre_wrap 

Whitespace is preserved by the browser. Text will wrap when necessary, and on line breaks.