windowsforms-devexpress-dot-xtratreelist-dot-virtualtreegetcellvalueinfo-70fccf01.md
Gets or sets the current cell value (when VirtualTreeGetCellValueInfo.IsCheckState is false ) or the node’s check state (when VirtualTreeGetCellValueInfo.IsCheckState is true ).
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public object CellData { get; set; }
Public Property CellData As Object
| Type | Description |
|---|---|
| Object |
Initially this property is set to a null reference. Use this property to supply data for the current cell or provide the node check state.
|
Use this property to supply a cell value (when VirtualTreeGetCellValueInfo.IsCheckState is false ) or the node check state (when VirtualTreeGetCellValueInfo.IsCheckState is true ).
The following code snippets (auto-collected from DevExpress Examples) contain references to the CellData 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.
winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/Form1.cs#L171
if (group != null)
args.CellData = group.Name;
winforms-spreadsheet-pivot-table-api/CS/SpreadsheetPivotTableExamples/Form1.cs#L159
if (group != null)
args.CellData = group.Name;
winforms-spreadsheetcontrol-api-part-3/CS/SpreadsheetControl_API_Part03/Form1.cs#L332
if (group != null)
args.CellData = group.Name;
winforms-richeditcontrol-common-api/CS/RichEditAPISample/Form1.cs#L437
if(group != null)
args.CellData = group.Name;
winforms-richedit-document-api/CS/RichEditAPISample/Form1.cs#L426
if (group != null)
args.CellData = group.Name;
winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/Form1.vb#L165
If group IsNot Nothing Then
args.CellData = group.Name
End If
winforms-spreadsheet-pivot-table-api/VB/SpreadsheetPivotTableExamples/Form1.vb#L151
If group IsNot Nothing Then
args.CellData = group.Name
End If
winforms-spreadsheetcontrol-api-part-3/VB/SpreadsheetControl_API_Part03/Form1.vb#L332
Dim group As CodeExampleGroup = TryCast(args.Node, CodeExampleGroup)
If group IsNot Nothing Then args.CellData = group.Name
Dim example As CodeExample = TryCast(args.Node, CodeExample)
winforms-richeditcontrol-common-api/VB/RichEditAPISample/Form1.vb#L429
If group IsNot Nothing Then
args.CellData = group.Name
End If
winforms-richedit-document-api/VB/RichEditAPISample/Form1.vb#L428
Dim group As CodeExampleGroup = TryCast(args.Node, CodeExampleGroup)
If group IsNot Nothing Then args.CellData = group.Name
Dim example As CodeExample = TryCast(args.Node, CodeExample)
See Also
VirtualTreeGetCellValueInfo Class