[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.BeforeSelChange

BeforeSelChange Event

Fires before the selection changes (Row, Col, RowSel, ColSel properties).

Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
public event RangeEventHandler BeforeSelChange
Returns
Type Description
RangeEventHandler Fires before the selection changes (, , , properties).
Remarks

This event fires before the RowSel and ColSel 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.

To prevent the selection of a range, you also need to handle the BeforeRowColChange event, which is fired before the Row and Col properties change.