Click or drag to resize
DigitalRuneThemeHelper Class
Provides methods that help to load and parse a UI theme.
Inheritance Hierarchy
SystemObject
  DigitalRune.Game.UI.RenderingThemeHelper

Namespace: DigitalRune.Game.UI.Rendering
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public static class ThemeHelper

The ThemeHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberParseColor
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.
Public methodStatic memberParseHorizontalAlignment
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.
Public methodStatic memberParseRectangle
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.
Public methodStatic memberParseTileMode
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.
Public methodStatic memberParseVector2F
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.
Public methodStatic memberParseVector3F
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.
Public methodStatic memberParseVector4F
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.
Public methodStatic memberParseVerticalAlignment
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