[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.AfterScroll

AfterScroll Event

Fires after the grid scrolls.

Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
public event RangeEventHandler AfterScroll
Returns
Type Description
RangeEventHandler Fires after the grid scrolls.
Remarks

This event allows you to prevent the user from scrolling the grid while an operation is being performed on the current selection.

Examples

The code below prevents the grid from scrolling while the grid is in edit mode.

void _flex_BeforeScroll(object sender, RangeEventArgs e)
{
    if (_flex.Editor != null)
        e.Cancel = true;
}