Skip to main content
A newer version of this page is available. .

CustomDrawNodeCellEventArgs.CellValue Property

Gets the painted cell’s value.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

public object CellValue { get; }

Property Value

Type Description
Object

An object representing the painted cell’s value.

Remarks

The CellValue property can be used as an object representation of the painted cell’s value. This can be used to determine what to paint within the current cell. This property is read-only, thus you cannot use it to assign a specific value to a cell. To assign custom values to cells you must handle the TreeList.GetNodeDisplayValue event.

If it is necessary to customize the text that will be displayed within a cell, use the CustomDrawNodeCellEventArgs.CellText property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CellValue property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also