Click or drag to resize
DigitalRuneThemeHelperParseHorizontalAlignment Method
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.

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 HorizontalAlignment ParseHorizontalAlignment(
	string value
)

Parameters

value
Type: SystemString
The value. If this value is or an empty string, Left is returned as the default value.

Return Value

Type: HorizontalAlignment
The HorizontalAlignment.
Exceptions
ExceptionCondition
FormatException Cannot convert value to HorizontalAlignment.
See Also