[]
Represents the formatting properties of a control.
public class Style
Name | Description |
---|---|
Alignment | Gets or sets the horizontal text alignment of the control to which the style is applied. |
BackColor | Gets or sets the background color of the control. Null if the property is inherited from the Style parent or not to be set on the control. |
CharacterSet | Gets or sets the CharacterSet of the control. The value must be cast as a byte. |
FontBold | Gets or sets the Font.Bold property of the control. Null if the property is inherited from the Style parent or not to be set on the control. |
FontItalic | Gets or sets the Font.Italic property of the control. Null if the property is inherited from the Style parent or not to be set on the control. |
FontName | Gets or sets the Font.Name property of the control. Null if the property is inherited from the Style parent or not to be set on the control. |
FontSize | Gets or sets the size of the font used to render the control. |
FontStrikeThrough | Gets or sets the Font.StrikeThrough property of the control. |
FontUnderline | Gets or sets the Font.Underline property of the control. |
FontVertical | Gets or sets the Font.Vertical property of the control. |
ForeColor | Gets or sets the text color of the control. |
Name | Gets the unique name of the style. |
Parent | Gets the parent style. |
Value | Gets or sets a Cascading Style Sheets (CSS) string representation of the Style properties. |
VerticalAlignment | Gets or sets the vertical alignment of text within the bounds of the control. |