FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGridRowDetail Class / UpdateSize Method
FlexGrid which displays detail control.
Index of parent detail row.
The proposed size for the detail control.

In This Topic
    UpdateSize Method (C1FlexGridRowDetail)
    In This Topic
    Used to update size of the control.
    Syntax
    'Declaration
     
    
    Public Overridable Sub UpdateSize( _
       ByVal parentGrid As C1FlexGrid, _
       ByVal rowIndex As Integer, _
       ByVal proposedSize As Size _
    ) 
    public virtual void UpdateSize( 
       C1FlexGrid parentGrid,
       int rowIndex,
       Size proposedSize
    )

    Parameters

    parentGrid
    FlexGrid which displays detail control.
    rowIndex
    Index of parent detail row.
    proposedSize
    The proposed size for the detail control.
    Remarks
    This method can be overridden in the derived class to apply custom update size behavior of C1FlexGridRowDetail control.
    See Also