'Declaration Public ReadOnly Property ScrollEventArgs As ScrollEventArgs
public ScrollEventArgs ScrollEventArgs {get;}
Imports Infragistics.Win.UltraWinTree Private Sub ultraTree1_Scroll(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinTree.TreeScrollEventArgs) Handles ultraTree1.Scroll Dim sb As New System.Text.StringBuilder() sb.Append("The tree has scrolled. ScrollbarType :") sb.Append(e.ScrollBarType) sb.Append(" ScrollEventType: ") sb.Append(e.ScrollEventArgs.Type) sb.Append(" new value: ") sb.Append(e.ScrollEventArgs.NewValue) Debug.WriteLine(sb.ToString()) End Sub
using System.Diagnostics; using Infragistics.Win.UltraWinTree; private void ultraTree1_Scroll(object sender, Infragistics.Win.UltraWinTree.TreeScrollEventArgs e) { System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append("The tree has scrolled. ScrollbarType :"); sb.Append(e.ScrollBarType); sb.Append(" ScrollEventType: "); sb.Append(e.ScrollEventArgs.Type); sb.Append(" new value: "); sb.Append(e.ScrollEventArgs.NewValue); Debug.WriteLine( sb.ToString() ); }
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