Back to Devexpress

AppearanceObject.HAlignment Property

windowsforms-devexpress-dot-utils-dot-appearanceobject-64a2e65a.md

latest2.0 KB
Original Source

AppearanceObject.HAlignment Property

Gets the horizontal alignment of the appearance object’s text.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
public HorzAlignment HAlignment { get; }
vb
<Browsable(False)>
Public ReadOnly Property HAlignment As HorzAlignment

Property Value

TypeDescription
HorzAlignment

A HorzAlignment enumeration value specifying the horizontal alignment of the text.

|

Available values:

NameDescription
Default

Places an object or text at the default position, which is determined by a control.

| | Near |

Places an object/text at a near position.

| | Center |

Centers an object or text within a region.

| | Far |

Places an object/text at a far position.

|

Remarks

The horizontal alignment of an AppearanceObject‘s text is specified by the TextOptions.HAlignment property. Text options can be accessed using the AppearanceObject.TextOptions property.

See Also

TextOptions

AppearanceObject Class

AppearanceObject Members

DevExpress.Utils Namespace