'Declaration Public Event AfterScroll As AfterScrollEventHandler
public event AfterScrollEventHandler AfterScroll
The event handler receives an argument of type AfterScrollEventArgs containing data related to this event. The following AfterScrollEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ScrollAction | Returns the scroll action that was taken |
If the BeforeScroll event is canceled, the AfterScroll event will not fire.
Private Sub UltraMonthViewSingle1_AfterScroll(ByVal sender As System.Object, ByVal e As Infragistics.Win.UltraWinSchedule.AfterScrollEventArgs) Handles ultraMonthViewSingle.AfterScroll '---------------------------------------------------------------------------------------------------- ' Description ' AfterScroll ' ' Fires after the control is scrolled. ' If the BeforeScroll event is not canceled, the AfterScroll event fires. ' '---------------------------------------------------------------------------------------------------- ' Output the old and new values to the debugger Dim info As String = String.Empty info += "The control was vertically scrolled. The type of scrolling operation was: " info += e.ScrollAction.ToString() Debug.WriteLine(info) End Sub
private void ultraMonthViewSingle1_AfterScroll(object sender, Infragistics.Win.UltraWinSchedule.AfterScrollEventArgs e) { //---------------------------------------------------------------------------------------------------- // Description // AfterScroll // // Fires after the control is scrolled. // If the BeforeScroll event is not canceled, the AfterScroll event fires. // //---------------------------------------------------------------------------------------------------- // Output the old and new values to the debugger string info = string.Empty; info += "The control was vertically scrolled. The type of scrolling operation was: "; info += e.ScrollAction.ToString(); Debug.WriteLine( info ); }
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