Back to Devexpress

VirtualTreeSetCellValueInfo.Node Property

windowsforms-devexpress-dot-xtratreelist-dot-virtualtreesetcellvalueinfo-775f3808.md

latest6.6 KB
Original Source

VirtualTreeSetCellValueInfo.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.

excel-export-api-examples/CS/XLExportExamples/BusinessObjects.cs#L55

csharp
void TreeList.IVirtualTreeListData.VirtualTreeSetCellValue(VirtualTreeSetCellValueInfo info) {
    SpreadsheetNode obj = info.Node as SpreadsheetNode;
    switch (info.Column.Caption) {

spreadsheet-document-api-apply-conditional-formatting-to-cell-range/CS/ConditionalFormatting_Example/BusinessObjects.cs#L67

csharp
{
    SpreadsheetNode obj = info.Node as SpreadsheetNode;
    switch (info.Column.Caption)

winforms-spreadsheet-apply-conditional-formatting-to-a-range-of-cells/CS/SpreadsheetControl/BusinessObjects.cs#L63

csharp
{
    SpreadsheetNode obj = info.Node as SpreadsheetNode;
    switch (info.Column.Caption)

winforms-spreadsheetcontrol-api-part1/CS/SpreadsheetControl/BusinessObjects.cs#L63

csharp
{
    SpreadsheetNode obj = info.Node as SpreadsheetNode;
    switch (info.Column.Caption)

winforms-spreadsheetcontrol-api-part-2/CS/SpreadsheetControl_API_Part02/BusinessObjects.cs#L63

csharp
{
    SpreadsheetNode obj = info.Node as SpreadsheetNode;
    switch (info.Column.Caption)

excel-export-api-examples/VB/XLExportExamples/BusinessObjects.vb#L76

vb
Private Sub IVirtualTreeListData_VirtualTreeSetCellValue(ByVal info As VirtualTreeSetCellValueInfo) Implements TreeList.IVirtualTreeListData.VirtualTreeSetCellValue
    Dim obj As SpreadsheetNode = TryCast(info.Node, SpreadsheetNode)
    Select Case info.Column.Caption

spreadsheet-document-api-apply-conditional-formatting-to-cell-range/VB/ConditionalFormatting_Example/BusinessObjects.vb#L83

vb
Private Sub VirtualTreeSetCellValue(ByVal info As VirtualTreeSetCellValueInfo) Implements TreeList.IVirtualTreeListData.VirtualTreeSetCellValue
    Dim obj As SpreadsheetNode = TryCast(info.Node, SpreadsheetNode)
    Select Case info.Column.Caption

winforms-spreadsheet-apply-conditional-formatting-to-a-range-of-cells/VB/SpreadsheetControl/BusinessObjects.vb#L85

vb
Private Sub VirtualTreeSetCellValue(ByVal info As VirtualTreeSetCellValueInfo) Implements TreeList.IVirtualTreeListData.VirtualTreeSetCellValue
    Dim obj As SpreadsheetNode = TryCast(info.Node, SpreadsheetNode)
    Select Case info.Column.Caption

winforms-spreadsheetcontrol-api-part1/VB/SpreadsheetControl/BusinessObjects.vb#L73

vb
Private Sub IVirtualTreeListData_VirtualTreeSetCellValue(ByVal info As VirtualTreeSetCellValueInfo) Implements TreeList.IVirtualTreeListData.VirtualTreeSetCellValue
    Dim obj As SpreadsheetNode = TryCast(info.Node, SpreadsheetNode)
    Select Case info.Column.Caption

winforms-spreadsheetcontrol-api-part-2/VB/SpreadsheetControl_API_Part02/BusinessObjects.vb#L73

vb
Private Sub IVirtualTreeListData_VirtualTreeSetCellValue(ByVal info As VirtualTreeSetCellValueInfo) Implements TreeList.IVirtualTreeListData.VirtualTreeSetCellValue
    Dim obj As SpreadsheetNode = TryCast(info.Node, SpreadsheetNode)
    Select Case info.Column.Caption

See Also

VirtualTreeSetCellValueInfo Class

VirtualTreeSetCellValueInfo Members

DevExpress.XtraTreeList Namespace