windowsforms-devexpress-dot-xtratreelist-dot-virtualtreegetchildnodesinfo-c6854ddf.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-tokenedit-dropdown-with-treelist/CS/TokenEditTest/CustomTokenEditDropDownControl.cs#L80
void OnTreeListVirtualTreeGetChildNodes(object sender, VirtualTreeGetChildNodesInfo e) {
if(e.Node is TreeListDataSet) {
e.Children = ((TreeListDataSet)e.Node).GetChildren();
winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/Form1.cs#L187
{
if (args.Node == null)
return;
winforms-spreadsheet-pivot-table-api/CS/SpreadsheetPivotTableExamples/Form1.cs#L175
{
if (args.Node == null)
return;
winforms-spreadsheetcontrol-api-part-3/CS/SpreadsheetControl_API_Part03/Form1.cs#L348
{
if (args.Node == null)
return;
winforms-richeditcontrol-common-api/CS/RichEditAPISample/Form1.cs#L450
else {
if(args.Node == null)
return;
winforms-tokenedit-dropdown-with-treelist/VB/TokenEditTest/CustomTokenEditDropDownControl.vb#L90
Private Sub OnTreeListVirtualTreeGetChildNodes(ByVal sender As Object, ByVal e As VirtualTreeGetChildNodesInfo) Handles treeList_Renamed.VirtualTreeGetChildNodes
If TypeOf e.Node Is TreeListDataSet Then
e.Children = CType(e.Node, TreeListDataSet).GetChildren()
winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/Form1.vb#L179
Else
If args.Node Is Nothing Then
Return
winforms-spreadsheet-pivot-table-api/VB/SpreadsheetPivotTableExamples/Form1.vb#L165
Else
If args.Node Is Nothing Then
Return
winforms-spreadsheetcontrol-api-part-3/VB/SpreadsheetControl_API_Part03/Form1.vb#L342
Else
If args.Node Is Nothing Then Return
Dim group As CodeExampleGroup = TryCast(args.Node, CodeExampleGroup)
winforms-richeditcontrol-common-api/VB/RichEditAPISample/Form1.vb#L443
Else
If args.Node Is Nothing Then
Return
See Also
VirtualTreeGetChildNodesInfo Class