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

In This Topic
    BeforeResizeRow Event (C1FlexPivotGrid)
    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 C1.Win.C1FlexGrid.C1FlexGridBase.AllowResizing property to determine whether users are allowed to resize rows, columns, or both.

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

    See Also