Back to Devexpress

CustomDrawNodeCellEventArgs.Column Property

windowsforms-devexpress-dot-xtratreelist-dot-customdrawnodecelleventargs.md

latest2.0 KB
Original Source

CustomDrawNodeCellEventArgs.Column Property

Gets the painted cell’s column.

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 that contains the painted cell.

|

Remarks

Use the Column property to identify the painted cell’s column. This can be used to perform different painting for different column cells or to perform custom painting for the desired column cells only. For this purpose you can use the CustomDrawEventArgs.Handled property.

You can also obtain the painted cell’s node via the Node property.

See Also

CellValue

CellText

Handled

CustomDrawNodeCellEventArgs Class

CustomDrawNodeCellEventArgs Members

DevExpress.XtraTreeList Namespace