Back to Devexpress

CustomDrawColumnHeaderEventArgs.Column Property

windowsforms-devexpress-dot-xtratreelist-dot-customdrawcolumnheadereventargs.md

latest2.0 KB
Original Source

CustomDrawColumnHeaderEventArgs.Column Property

Gets the column whose header is painted.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public TreeListColumn Column { get; }
vb
Public ReadOnly Property Column As TreeListColumn

Property Value

TypeDescription
TreeListColumn

A TreeListColumn object representing the column whose header is painted. null ( Nothing in Visual Basic) if the column button or the space not occupied by column headers is currently painted.

|

Remarks

You can modify the CustomDrawEventArgs.Handled property with respect to the Column property value. This gives you the ability to perform custom painting of desired columns only.

See Also

ColumnType

Caption

Handled

CustomDrawColumnHeaderEventArgs Class

CustomDrawColumnHeaderEventArgs Members

DevExpress.XtraTreeList Namespace