| ThemeHelperParseVerticalAlignment Method |
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.
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public static VerticalAlignment ParseVerticalAlignment(
string value
)
Public Shared Function ParseVerticalAlignment (
value As String
) As VerticalAlignment
public:
static VerticalAlignment ParseVerticalAlignment(
String^ value
)
static member ParseVerticalAlignment :
value : string -> VerticalAlignment
Parameters
- value
- Type: SystemString
The value. If this value is or an empty string,
Top is returned as the default value.
Return Value
Type:
VerticalAlignmentThe
VerticalAlignment.
Exceptions See Also