The Style type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Style |
Initializes a new instance of the Style class with a specified style.
|
Methods
| Name | Description | |
|---|---|---|
| Add(Style) |
Adds a child style to this style. Will have the same class id as the parent.
| |
| Add(Tag) |
Adds a selector element.
| |
| Render | If we have selector elements *or* a class, render a selector, followed by "{", the style and "}". Else, output directly what we have been given. | |
| ToString |
This element's name.
(Overrides Object..::..ToString()()()().) |
Properties
| Name | Description | |
|---|---|---|
| Class |
Gets or sets the CSS class of this style. It will be auto-generated if empty.
|