xtd 0.2.0
Loading...
Searching...
No Matches
xtd::forms::style_sheets Namespace Reference

Definition

The xtd::forms::style_sheets namespace contains various properties, states, and subcontrols that make it possible to customize the look of control.

Classes

class  background_image
 The image data allows you to specify the url or gradient mode. More...
 
class  border_color
 The xtd::forms::style_sheets::border_color is used to set the color of the borders. More...
 
class  border_radius
 The radius is used to add rounded borders to an element. More...
 
class  border_style
 The style specifies what kind of borders to display. More...
 
class  control
 The control selector allows you to specify the box and color of a control. More...
 
class  ibox_model
 The box model allows you to specify the margin, borders, padding, background color, width and height of a box. More...
 
class  iimage_model
 The image model allows you to specify the alignment of an image. More...
 
class  itext_model
 The text model allows you to specify the alignment, color, decoration, transformation, and font of a text. More...
 
class  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  lengths
 The length specifies the length of the borders. More...
 
class  shadow
 The style specifies the shadow of text and elements. More...
 
class  style_sheet
 The xtd::forms::style_sheets::style_sheet allows you to specify an xtd style sheet. More...
 
class  system_colors
 The theme data allows you to specify the theme informations. More...
 
class  theme
 The theme data allows you to specify the theme informations. More...
 

Alias

using border_width = xtd::forms::style_sheets::lengths
 The width specifies the width of the borders.
 
using button = xtd::forms::style_sheets::control
 The buttton data allows you to specify the box of a button control.
 
using form = xtd::forms::style_sheets::control
 The form data allows you to specify the box of a form control.
 
using label = xtd::forms::style_sheets::control
 The label data allows you to specify the box of a label control.
 
using link_label = xtd::forms::style_sheets::control
 The link label data allows you to specify the box of a link label control.
 
using margin = xtd::forms::style_sheets::lengths
 Margins are used to create space around elements, outside of any defined borders.
 
using outline_color = xtd::forms::style_sheets::border_color
 The xtd::forms::style_sheets::outline_color is used to set the color of the outlines.
 
using outline_offset = xtd::forms::style_sheets::lengths
 The width specifies the width of the borders.
 
using outline_radius = xtd::forms::style_sheets::border_radius
 The radius is used to add rounded outlines to an element.
 
using outline_style = xtd::forms::style_sheets::border_style
 The style specifies what kind of outlines to display.
 
using outline_width = xtd::forms::style_sheets::lengths
 The width specifies the width of the outlines.
 
using padding = xtd::forms::style_sheets::lengths
 Padding is used to create space around an element's content, inside of any defined borders.
 
using panel = xtd::forms::style_sheets::control
 The panel data allows you to specify the box of a panel control.
 
using shadows = std::vector< xtd::forms::style_sheets::shadow >
 Represents an xtd::forms::style_sheets::shadow array.
 
using status_bar = xtd::forms::style_sheets::control
 The status_bar data allows you to specify the box of a status_bar control.
 
using status_bar_panel = xtd::forms::style_sheets::control
 The buttton data allows you to specify the box of a status_bar_panel control.
 
using toggle_button = xtd::forms::style_sheets::control
 The buttton data allows you to specify the box of a toggle_button control.
 
using tool_bar = xtd::forms::style_sheets::control
 The tool_bar data allows you to specify the box of a tool_bar control.
 
using tool_bar_button = xtd::forms::style_sheets::control
 The buttton data allows you to specify the box of a tool_bar_button control.
 
using user_control = xtd::forms::style_sheets::control
 The user_control data allows you to specify the box of a user_control control.
 

Enumerations

enum class  border_type {
  border_type::none ,
  border_type::hidden ,
  border_type::solid ,
  border_type::inset ,
  border_type::outset ,
  border_type::groove ,
  border_type::ridge ,
  border_type::theme ,
  border_type::dashed ,
  border_type::dot_dash ,
  border_type::dot_dot_dash ,
  border_type::dotted ,
  border_type::double_border
}
 The border_type enum class specifies what kind of border to display. More...
 
enum class  image_type {
  image_type::none ,
  image_type::url ,
  image_type::linear_gradient ,
  image_type::radial_gradient ,
  image_type::conic_gradient
}
 The image_type enum class specifies what kind of image to display. More...
 
enum class  length_unit {
  length_unit::centimeters ,
  length_unit::millimeters ,
  length_unit::inches ,
  length_unit::pixels ,
  length_unit::points ,
  length_unit::picas ,
  length_unit::element ,
  length_unit::element_x_height ,
  length_unit::chase ,
  length_unit::root_element ,
  length_unit::viewport_width ,
  length_unit::viewport_height ,
  length_unit::viewport_min ,
  length_unit::viewport_max ,
  length_unit::percent
}
 The length_unit enum class specifies the units for xtd::forms::style_sheets::length. More...
 
enum class  pseudo_state {
  pseudo_state::standard ,
  pseudo_state::hover ,
  pseudo_state::pressed ,
  pseudo_state::disabled ,
  pseudo_state::focused ,
  pseudo_state::default_state ,
  pseudo_state::unchecked ,
  pseudo_state::checked ,
  pseudo_state::mixed ,
  pseudo_state::link ,
  pseudo_state::visited ,
  pseudo_state::active
}
 The pseudo_state enum class flag specifies the pseudo state of an element. More...
 
enum class  text_decoration {
  text_decoration::none ,
  text_decoration::overline ,
  text_decoration::line_through ,
  text_decoration::underline
}
 The xtd::forms::style_sheets::text_decoration enum class is used to set or remove decorations from text. More...
 
enum class  text_transformation {
  text_transformation::none ,
  text_transformation::lowercase ,
  text_transformation::uppercase ,
  text_transformation::capitalize
}
 The xtd::forms::style_sheets::text_transformation enum class is used to specify uppercase and lowercase letters in a text. More...
 
enum class  white_space {
  white_space::normal ,
  white_space::no_wrap ,
  white_space::pre ,
  white_space::pre_line ,
  white_space::pre_wrap
}
 The white_space enum class specifies how white-space inside an element is handled. More...