Contains various properties, states, and subcontrols that make it possible to customize the look of control.
|
Classes | |
| class | xtd::forms::style_sheets::background_image |
| The image data allows you to specify the url or gradient mode. More... | |
| class | xtd::forms::style_sheets::border_color |
| The xtd::forms::style_sheets::border_color is used to set the color of the borders. More... | |
| class | xtd::forms::style_sheets::border_radius |
| The radius is used to add rounded borders to an element. More... | |
| class | xtd::forms::style_sheets::border_style |
| The style specifies what kind of borders to display. More... | |
| class | xtd::forms::style_sheets::control |
| The control selector allows you to specify the box and color of a control. More... | |
| class | xtd::forms::style_sheets::ibox_model |
| The box model allows you to specify the margin, borders, padding, background color, width and height of a box. More... | |
| class | xtd::forms::style_sheets::iimage_model |
| The image model allows you to specify the alignment of an image. More... | |
| class | xtd::forms::style_sheets::itext_model |
| The text model allows you to specify the alignment, color, decoration, transformation, and font of a text. More... | |
| class | xtd::forms::style_sheets::length |
| The xtd::forms::style_sheets::length specifies the legth and unit of many properties of the xtd::forms::style_sheets::ibox_model. More... | |
| class | xtd::forms::style_sheets::lengths |
| The length specifies the length of the borders. More... | |
| class | xtd::forms::style_sheets::shadow |
| The style specifies the shadow of text and elements. More... | |
| class | xtd::forms::style_sheets::style_sheet |
| The xtd::forms::style_sheets::style_sheet allows you to specify an xtd style sheet. More... | |
| class | xtd::forms::style_sheets::system_colors |
| The theme data allows you to specify the theme informations. More... | |
| class | xtd::forms::style_sheets::theme |
| The theme data allows you to specify the theme informations. More... | |
#include <xtd.forms/include/xtd/forms/style_sheets/border_width.h>
The width specifies the width of the borders.
| using xtd::forms::style_sheets::button = typedef xtd::forms::style_sheets::control |
#include <xtd.forms/include/xtd/forms/style_sheets/button.h>
The buttton data allows you to specify the box of a button control.
| using xtd::forms::style_sheets::form = typedef xtd::forms::style_sheets::control |
#include <xtd.forms/include/xtd/forms/style_sheets/form.h>
The form data allows you to specify the box of a form control.
| using xtd::forms::style_sheets::label = typedef xtd::forms::style_sheets::control |
#include <xtd.forms/include/xtd/forms/style_sheets/label.h>
The label data allows you to specify the box of a label control.
#include <xtd.forms/include/xtd/forms/style_sheets/link_label.h>
The link label data allows you to specify the box of a link label control.
| using xtd::forms::style_sheets::margin = typedef xtd::forms::style_sheets::lengths |
#include <xtd.forms/include/xtd/forms/style_sheets/margin.h>
Margins are used to create space around elements, outside of any defined borders.
#include <xtd.forms/include/xtd/forms/style_sheets/outline_color.h>
The xtd::forms::style_sheets::outline_color is used to set the color of the outlines.
#include <xtd.forms/include/xtd/forms/style_sheets/outline_offset.h>
The width specifies the width of the borders.
#include <xtd.forms/include/xtd/forms/style_sheets/outline_radius.h>
The radius is used to add rounded outlines to an element.
#include <xtd.forms/include/xtd/forms/style_sheets/outline_style.h>
The style specifies what kind of outlines to display.
#include <xtd.forms/include/xtd/forms/style_sheets/outline_width.h>
The width specifies the width of the outlines.
| using xtd::forms::style_sheets::padding = typedef xtd::forms::style_sheets::lengths |
#include <xtd.forms/include/xtd/forms/style_sheets/padding.h>
Padding is used to create space around an element's content, inside of any defined borders.
| using xtd::forms::style_sheets::panel = typedef xtd::forms::style_sheets::control |
#include <xtd.forms/include/xtd/forms/style_sheets/panel.h>
The panel data allows you to specify the box of a panel control.
#include <xtd.forms/include/xtd/forms/style_sheets/status_bar.h>
The status_bar data allows you to specify the box of a status_bar control.
#include <xtd.forms/include/xtd/forms/style_sheets/status_bar_panel.h>
The buttton data allows you to specify the box of a status_bar_panel control.
#include <xtd.forms/include/xtd/forms/style_sheets/toggle_button.h>
The buttton data allows you to specify the box of a toggle_button control.
| using xtd::forms::style_sheets::tool_bar = typedef xtd::forms::style_sheets::control |
#include <xtd.forms/include/xtd/forms/style_sheets/tool_bar.h>
The tool_bar data allows you to specify the box of a tool_bar control.
#include <xtd.forms/include/xtd/forms/style_sheets/tool_bar_button.h>
The buttton data allows you to specify the box of a tool_bar_button control.
#include <xtd.forms/include/xtd/forms/style_sheets/user_control.h>
The user_control data allows you to specify the box of a user_control control.
|
strong |
#include <xtd.forms/include/xtd/forms/style_sheets/border_type.h>
The border_type enum class specifies what kind of border to display.
|
strong |
#include <xtd.forms/include/xtd/forms/style_sheets/image_type.h>
The image_type enum class specifies what kind of image to display.
|
strong |
#include <xtd.forms/include/xtd/forms/style_sheets/length_unit.h>
The length_unit enum class specifies the units for xtd::forms::style_sheets::length.
| Enum class value | Css potfix | Description |
|---|---|---|
| centimeters | cm | centimeters |
| millimeters | mm | millimeters |
| inches | in | inches (1in = 96px = 2.54cm) |
| pixels | px | pixels (1px = 1/96th of 1in) |
| points | pt | points (1pt = 1/72 of 1in) |
| picas | pc | picas (1pc = 12 pt) |
| Enum class value | Css potfix | Description |
|---|---|---|
| element | em | Relative to the font-size of the element (2em means 2 times the size of the current font) |
| element_x_height | ex | Relative to the x-height of the current font (rarely used) |
| chase | ch | Relative to width of the "0" (zero) |
| root_element | rem | Relative to font-size of the root element |
| viewport_width | vw | Relative to 1% of the width of the viewport(*) |
| viewport_height | vh | Relative to 1% of the height of the viewport(*) |
| viewport_min | vmin | Relative to 1% of viewport's* smaller dimension |
| viewport_max | vmax | Relative to 1% of viewport's* larger dimension |
| percent | % | Relative to the parent element |
|
strong |
#include <xtd.forms/include/xtd/forms/style_sheets/pseudo_state.h>
The pseudo_state enum class flag specifies the pseudo state of an element.
| Enumerator | |
|---|---|
| standard | The item is in standard state. |
| hover | The item is hover (mouse is on the item). |
| pressed | The irem is pressed, mouse is down on the item. |
| disabled | The irem is disabled, generally the item is grayed. |
| focused | The item is focused. |
| default_state | The item is the default (see ibutton_control). |
| unchecked | The item is unchecked. |
| checked | The item is checked. |
| mixed | The item is mixed. For the three-state ittem. |
| link | The item is link text.
|
| visited | The item is visited text.
|
| active | The item is ative text.
|
|
strong |
#include <xtd.forms/include/xtd/forms/style_sheets/text_decoration.h>
The xtd::forms::style_sheets::text_decoration enum class is used to set or remove decorations from text.
| Enumerator | |
|---|---|
| none | Defines none text decoration. |
| overline | Defines a overline text decoration. |
| line_through | Defines a line through text decoration. |
| underline | Defines a underline text decoration. |
|
strong |
#include <xtd.forms/include/xtd/forms/style_sheets/text_transformation.h>
The xtd::forms::style_sheets::text_transformation enum class is used to specify uppercase and lowercase letters in a text.
|
strong |
#include <xtd.forms/include/xtd/forms/style_sheets/white_space.h>
The white_space enum class specifies how white-space inside an element is handled.