'Declaration Public Delegate Sub AfterDataNodesCollectionPopulatedEventHandler( _ ByVal sender As Object, _ ByVal e As AfterDataNodesCollectionPopulatedEventArgs _ )
public delegate void AfterDataNodesCollectionPopulatedEventHandler( object sender, AfterDataNodesCollectionPopulatedEventArgs e )
Imports Infragistics.Win Imports Infragistics.Win.Layout Imports Infragistics.Win.UltraWinTree Private Sub ultraTree1_BeforeDataNodesCollectionPopulated(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinTree.BeforeDataNodesCollectionPopulatedEventArgs) Handles ultraTree1.BeforeDataNodesCollectionPopulated If Not e.Nodes.ParentNode Is Nothing Then Debug.WriteLine("Populating nodes collection for '" + e.Nodes.ParentNode.Text + "'...") Else Debug.WriteLine("Populating root nodes collection...") End If End Sub Private Sub ultraTree1_AfterDataNodesCollectionPopulated(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinTree.AfterDataNodesCollectionPopulatedEventArgs) Handles ultraTree1.AfterDataNodesCollectionPopulated If Not e.Nodes.ParentNode Is Nothing Then Debug.WriteLine("Nodes collection for '" + e.Nodes.ParentNode.Text + "' populated.") Else Debug.WriteLine("Root nodes collection populated.") End If End Sub
using Infragistics.Win; using Infragistics.Win.Layout; using Infragistics.Win.UltraWinTree; using System.Diagnostics; private void ultraTree1_BeforeDataNodesCollectionPopulated(object sender, Infragistics.Win.UltraWinTree.BeforeDataNodesCollectionPopulatedEventArgs e) { if ( e.Nodes.ParentNode != null ) Debug.WriteLine( "Populating nodes collection for '" + e.Nodes.ParentNode.Text + "'..." ); else Debug.WriteLine( "Populating root nodes collection..." ); } private void ultraTree1_AfterDataNodesCollectionPopulated(object sender, Infragistics.Win.UltraWinTree.AfterDataNodesCollectionPopulatedEventArgs e) { if ( e.Nodes.ParentNode != null ) Debug.WriteLine( "Nodes collection for '" + e.Nodes.ParentNode.Text + "' populated." ); else Debug.WriteLine( "Root nodes collection populated." ); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2