 | ThemeHelper Class |
Provides methods that help to load and parse a UI theme.
Inheritance Hierarchy
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntaxpublic static class ThemeHelper
Public NotInheritable Class ThemeHelper
public ref class ThemeHelper abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ThemeHelper = class end
The ThemeHelper type exposes the following members.
Methods
| Name | Description |
---|
  | ParseColor |
Converts the specified string representation of a color to its Color
equivalent, or throws an exception if the string cannot be converted to a
Color.
|
  | ParseHorizontalAlignment |
Converts the specified string representation of a horizontal alignment to its
HorizontalAlignment equivalent, or throws an exception if the string cannot be
converted to a HorizontalAlignment.
|
  | ParseRectangle |
Converts the specified string representation of a rectangle to its Rectangle
equivalent, or throws an exception if the string cannot be converted to a
Rectangle.
|
  | ParseTileMode |
Converts the specified string representation of a tile mode to its
TileMode equivalent, or throws an exception if the string cannot be
converted to a TileMode.
|
  | ParseVector2F |
Converts the specified string representation of a 2-dimensional vector to its
Vector2F equivalent, or throws an exception if the string cannot be
converted to a Vector2F.
|
  | ParseVector3F |
Converts the specified string representation of a 3-dimensional vector to its
Vector3F equivalent, or throws an exception if the string cannot be
converted to a Vector3F.
|
  | ParseVector4F |
Converts the specified string representation of a 4-dimensional vector to its
Vector4F equivalent, or throws an exception if the string cannot be
converted to a Vector4F.
|
  | ParseVerticalAlignment |
Converts the specified string representation of a vertical alignment to its
VerticalAlignment equivalent, or throws an exception if the string cannot be
converted to a VerticalAlignment.
|
Top
See Also