windowsforms-devexpress-dot-xtratreelist-dot-virtualtreegetcellvalueinfo-f2873ae0.md
Gets an instance of the business object being currently processed.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public object Node { get; }
Public ReadOnly Property Node As Object
| Type | Description |
|---|---|
| Object |
An object being currently processed.
|
To access the current instance of the business object, type cast the value of the Node property to the type of your data.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Node 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#L169
{
CodeExampleGroup group = args.Node as CodeExampleGroup;
if (group != null)
winforms-spreadsheet-pivot-table-api/CS/SpreadsheetPivotTableExamples/Form1.cs#L157
{
CodeExampleGroup group = args.Node as CodeExampleGroup;
if (group != null)
winforms-spreadsheetcontrol-api-part-3/CS/SpreadsheetControl_API_Part03/Form1.cs#L330
{
CodeExampleGroup group = args.Node as CodeExampleGroup;
if (group != null)
winforms-richeditcontrol-common-api/CS/RichEditAPISample/Form1.cs#L435
void treeList_VirtualTreeGetCellValue(object sender, VirtualTreeGetCellValueInfo args) {
CodeExampleGroup group = args.Node as CodeExampleGroup;
if(group != null)
winforms-richedit-document-api/CS/RichEditAPISample/Form1.cs#L424
{
CodeExampleGroup group = args.Node as CodeExampleGroup;
if (group != null)
winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/Form1.vb#L163
Private Sub treeList_VirtualTreeGetCellValue(ByVal sender As Object, ByVal args As VirtualTreeGetCellValueInfo)
Dim group As CodeExampleGroup = TryCast(args.Node, CodeExampleGroup)
If group IsNot Nothing Then
winforms-spreadsheet-pivot-table-api/VB/SpreadsheetPivotTableExamples/Form1.vb#L149
Private Sub treeList_VirtualTreeGetCellValue(ByVal sender As Object, ByVal args As VirtualTreeGetCellValueInfo)
Dim group As CodeExampleGroup = TryCast(args.Node, CodeExampleGroup)
If group IsNot Nothing Then
winforms-spreadsheetcontrol-api-part-3/VB/SpreadsheetControl_API_Part03/Form1.vb#L331
Private Sub treeList_VirtualTreeGetCellValue(ByVal sender As Object, ByVal args As VirtualTreeGetCellValueInfo)
Dim group As CodeExampleGroup = TryCast(args.Node, CodeExampleGroup)
If group IsNot Nothing Then args.CellData = group.Name
winforms-richeditcontrol-common-api/VB/RichEditAPISample/Form1.vb#L427
Private Sub treeList_VirtualTreeGetCellValue(ByVal sender As Object, ByVal args As VirtualTreeGetCellValueInfo)
Dim group As CodeExampleGroup = TryCast(args.Node, CodeExampleGroup)
If group IsNot Nothing Then
winforms-richedit-document-api/VB/RichEditAPISample/Form1.vb#L427
Private Sub treeList_VirtualTreeGetCellValue(ByVal sender As Object, ByVal args As VirtualTreeGetCellValueInfo)
Dim group As CodeExampleGroup = TryCast(args.Node, CodeExampleGroup)
If group IsNot Nothing Then args.CellData = group.Name
See Also
VirtualTreeGetCellValueInfo Class