Back to Devexpress

VirtualTreeGetCellValueInfo.Node Property

windowsforms-devexpress-dot-xtratreelist-dot-virtualtreegetcellvalueinfo-f2873ae0.md

latest6.0 KB
Original Source

VirtualTreeGetCellValueInfo.Node Property

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

Declaration

csharp
public object Node { get; }
vb
Public ReadOnly Property Node As Object

Property Value

TypeDescription
Object

An object being currently processed.

|

Remarks

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

csharp
{
    CodeExampleGroup group = args.Node as CodeExampleGroup;
    if (group != null)

winforms-spreadsheet-pivot-table-api/CS/SpreadsheetPivotTableExamples/Form1.cs#L157

csharp
{
    CodeExampleGroup group = args.Node as CodeExampleGroup;
    if (group != null)

winforms-spreadsheetcontrol-api-part-3/CS/SpreadsheetControl_API_Part03/Form1.cs#L330

csharp
{
    CodeExampleGroup group = args.Node as CodeExampleGroup;
    if (group != null)

winforms-richeditcontrol-common-api/CS/RichEditAPISample/Form1.cs#L435

csharp
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

csharp
{
    CodeExampleGroup group = args.Node as CodeExampleGroup;
    if (group != null)

winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/Form1.vb#L163

vb
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

vb
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

vb
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

vb
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

vb
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

VirtualTreeGetCellValueInfo Members

DevExpress.XtraTreeList Namespace