ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / BeforeResizeRow Event

In This Topic
    BeforeResizeRow Event (C1FlexGridBase)
    In This Topic
    Fires before a row is resized by dragging the row header.
    Syntax
    'Declaration
     
    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.

    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 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