Back to Devexpress

TreeListColumn.Image Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-453d977b.md

latest2.4 KB
Original Source

TreeListColumn.Image Property

Use the TreeListColumn.ImageOptions property to specify the image displayed in the column header.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual Image Image { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Overridable Property Image As Image

Property Value

TypeDefaultDescription
Imagenull

An Image object specifying the image displayed in the column header.

|

Remarks

The Image property specifies the image displayed in the column header. To specify how the image is aligned relative to the column header, use the TreeListColumn.ImageAlignment property.

To specify the column header image, you can also use the imageIndex property accessible in TreeListColumn.ImageOptions to set the zero-based index of the image from the TreeList.ColumnsImageList collection.

See Also

ImageOptions

ColumnsImageList

TreeListColumn Class

TreeListColumn Members

DevExpress.XtraTreeList.Columns Namespace