windowsforms-devexpress-dot-xtratreelist-dot-virtualtreesetcellvalueinfo-775f3808.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.
excel-export-api-examples/CS/XLExportExamples/BusinessObjects.cs#L55
void TreeList.IVirtualTreeListData.VirtualTreeSetCellValue(VirtualTreeSetCellValueInfo info) {
SpreadsheetNode obj = info.Node as SpreadsheetNode;
switch (info.Column.Caption) {
{
SpreadsheetNode obj = info.Node as SpreadsheetNode;
switch (info.Column.Caption)
{
SpreadsheetNode obj = info.Node as SpreadsheetNode;
switch (info.Column.Caption)
winforms-spreadsheetcontrol-api-part1/CS/SpreadsheetControl/BusinessObjects.cs#L63
{
SpreadsheetNode obj = info.Node as SpreadsheetNode;
switch (info.Column.Caption)
winforms-spreadsheetcontrol-api-part-2/CS/SpreadsheetControl_API_Part02/BusinessObjects.cs#L63
{
SpreadsheetNode obj = info.Node as SpreadsheetNode;
switch (info.Column.Caption)
excel-export-api-examples/VB/XLExportExamples/BusinessObjects.vb#L76
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
Private Sub VirtualTreeSetCellValue(ByVal info As VirtualTreeSetCellValueInfo) Implements TreeList.IVirtualTreeListData.VirtualTreeSetCellValue
Dim obj As SpreadsheetNode = TryCast(info.Node, SpreadsheetNode)
Select Case info.Column.Caption
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
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
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