[]
Represents a theme that contains various design elements such as fonts, images, and colors.
public sealed class Theme
| Name | Description |
|---|---|
| Theme() |
| Name | Description |
|---|---|
| Colors | Gets the colors associated with this theme. |
| Constants | Gets the theme constants collection. |
| ConstantsDictionary | Gets the constants dictionary associated with this theme. Use only for serialization. For API usage, the Constants property should be used. |
| Fonts | Gets the fonts associated with this theme. |
| Images | Gets the images associated with this theme. |
| IsEmpty | Gets or sets a value indicating whether the theme is empty. For internal use only. |
| this[string] | Gets a property value by its name. |
| Name | Description |
|---|---|
| Create(string, ResourceLocator) | Creates a theme using the specified theme URI and resource locator. |
| Load(Stream) | Loads a theme from the specified XML stream. |