FlexGrid for WinForms
AfterScroll Event

Fires after the grid scrolls.
<C1DescriptionAttribute("Fires after the grid scrolls.")>
Public Event AfterScroll As RangeEventHandler
Dim instance As C1FlexGridBase
Dim handler As RangeEventHandler
AddHandler instance.AfterScroll, handler
[C1Description("Fires after the grid scrolls.")]
public event RangeEventHandler AfterScroll
[C1Description("Fires after the grid scrolls.")]
event RangeEventHandler^ AfterScroll
This event allows you to prevent the user from scrolling the grid while an operation is being performed on the current selection.
The code below prevents the grid from scrolling while the grid is in edit mode.
void _flex_BeforeScroll(object sender, C1.Win.C1FlexGrid.RangeEventArgs e)
    if (_flex.Editor != null)
        e.Cancel = true;

Target Platforms: 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

See Also


C1FlexGridBase Class
C1FlexGridBase Members



Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback