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

Enumerations

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