ComponentOne FlexGrid for WinForms
BeforeFreezeColumn Event

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : BeforeFreezeColumn Event
Fires before columns are frozen by dragging the frozen column divider.
Syntax
'Declaration
 
Public Event BeforeFreezeColumn As RowColEventHandler
public event RowColEventHandler BeforeFreezeColumn
Event Data

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

PropertyDescription
Gets or sets a value indicating whether the operation should be canceled.  
Gets the index of the column that caused the event.  
Gets the index of the row that caused the event.  
Remarks
Use the AllowFreezing property to enable or disable row and column freezing.
See Also