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 |
---|---|---|
String |
Near | A String |
#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. |
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. |