 | ThemeHelperParseHorizontalAlignment 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.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntaxpublic static HorizontalAlignment ParseHorizontalAlignment(
string value
)
Public Shared Function ParseHorizontalAlignment (
value As String
) As HorizontalAlignment
public:
static HorizontalAlignment ParseHorizontalAlignment(
String^ value
)
static member ParseHorizontalAlignment :
value : string -> HorizontalAlignment
Parameters
- value
- Type: SystemString
The value. If this value is or an empty string,
Left is returned as the default value.
Return Value
Type:
HorizontalAlignmentThe
HorizontalAlignment.
Exceptions
See Also