ComponentOne FlexGrid for WinForms
BeforeResizeRow Event

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : BeforeResizeRow Event
Fires before a row is resized by dragging the row header.
Public Event BeforeResizeRow As RowColEventHandler
public event RowColEventHandler BeforeResizeRow
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.

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.  
Use the grid's AllowResizing property to determine whether users are allowed to resize rows, columns, or both.

Row and Column objects also have an RowCol.AllowResizing property that allows you to prevent specific rows and columns from being resized.

See Also