Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListColumn.ImageAlignment Property

Gets or sets the alignment of the column header’s image.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

[Browsable(false)]
[DefaultValue(StringAlignment.Near)]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public StringAlignment ImageAlignment { get; set; }

#Property Value

Type Default Description
StringAlignment Near

A StringAlignment enumeration member which specifies the image’s alignment.

#Remarks

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.

TreeListColumn_ImageAlignment_Center

Far

The image is right-aligned in the left-to-right layout.

TreeListColumn_ImageAlignment_Far

In the right-to-left layout, the image is left-aligned.

Near

The image is left-aligned in the left-to-right layout.

TreeListColumn_ImageAlignment_Near

In the right-to-left layout, the image is right-aligned.

See Also