windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-67f254c5.md
Gets or sets the alignment of the column header’s image.
Namespace : DevExpress.XtraTreeList.Columns
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[Browsable(false)]
[DefaultValue(StringAlignment.Near)]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public StringAlignment ImageAlignment { get; set; }
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DefaultValue(StringAlignment.Near)>
<XtraSerializableProperty>
Public Property ImageAlignment As StringAlignment
| Type | Default | Description |
|---|---|---|
| StringAlignment | Near |
A StringAlignment enumeration member which specifies the image’s alignment.
|
The column header’s image is specified by the column’s TreeListColumn.ImageOptions property. The Alignment property specifies image alignment. It provides the following image alignment options:
|
Member Name
|
Description
| | --- | --- | |
Center
|
The image is centered. The header’s caption is not displayed in this case.
| |
Far
|
The image is right-aligned in the left-to-right layout.
In the right-to-left layout, the image is left-aligned.
| |
Near
|
The image is left-aligned in the left-to-right layout.
In the right-to-left layout, the image is right-aligned.
|
See Also