C1.Win.FlexGrid Namespace / C1FlexGrid Class / AfterScroll Event

AfterScroll Event (C1FlexGrid)
Fires after the grid scrolls.
Syntax
'Declaration
 
Public Event AfterScroll As RangeEventHandler
 
Event Data

The event handler receives an argument of type RangeEventArgs containing data related to this event. The following RangeEventArgs properties provide information specific to this event.

PropertyDescription
Gets or sets a value indicating whether the new selection should be canceled.  
Gets the range that will be selected after the event.  
Gets the range selected before the event.  
Remarks
This event allows you to prevent the user from scrolling the grid while an operation is being performed on the current selection.
Example
The code below prevents the grid from scrolling while the grid is in edit mode.
See Also