FlexGrid for WinForms
BeforeRowColChange Event



Fires before the current cell changes (Row and Col properties).
Syntax
'Declaration
 
<C1DescriptionAttribute("Fires before the current cell changes (Row and Col properties).")>
Public Event BeforeRowColChange As RangeEventHandler
'Usage
 
Dim instance As C1FlexGridBase
Dim handler As RangeEventHandler
 
AddHandler instance.BeforeRowColChange, handler
[C1Description("Fires before the current cell changes (Row and Col properties).")]
public event RangeEventHandler BeforeRowColChange
[C1Description("Fires before the current cell changes (Row and Col properties).")]
public:
event RangeEventHandler^ BeforeRowColChange
Remarks

This event fires before the Row or Col properties change, either as a result of user actions or through code. It allows you to prevent the selection of certain cells, thus creating "protected" ranges on a grid.

BeforeRowColChange fires only when the Row or Col properties are about to change. To detect extended selections, you also need to handle the BeforeSelChange event.

Requirements

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

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


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

Send Feedback