True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / C1TrueDBGrid Class / RefreshCol Method / RefreshCol(Int32) Method
The split column index to repaint.

In This Topic
    RefreshCol(Int32) Method
    In This Topic
    Invalidates the specified column.
    Syntax
    'Declaration
     
    Public Overloads Sub RefreshCol( _
       ByVal col As System.Integer _
    ) 
    public void RefreshCol( 
       System.int col
    )

    Parameters

    col
    The split column index to repaint.
    Remarks
    The RefreshCol method causes a repaint of the entire column in the grid. Normally, the grid repaints automatically as needed. However, if handlers have been written for the OwnerDrawCell event, use this method to force a column to be repainted and hence cause the appropriate events to fire.
    See Also