TextOptions.VertAlignmentToStringAlignment(VertAlignment) Method
In This Article
OBSOLETE
Use DevExpress.
Converts the specified VertAlignment value to a corresponding StringAlignment value.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use DevExpress.Data.Utils.AlignmentConverter class")]
public static StringAlignment VertAlignmentToStringAlignment(
VertAlignment align
)
#Parameters
Name | Type | Description |
---|---|---|
align | Vert |
A Vert |
#Returns
Type | Description |
---|---|
String |
A String |
#Remarks
This method converts the values of the VertAlignment enumeration to the StringAlignment type as follows:
- VertAlignment.Default to Center
- VertAlignment.Top to Near
- VertAlignment.Center to Center
- VertAlignment.Bottom to Far
See Also