ComponentOne True DBGrid for WinForms
RefreshCol(Int32) Method

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > C1TrueDBGrid Class > RefreshCol Method : RefreshCol(Int32) Method
The split column index to repaint.
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

Reference

C1TrueDBGrid Class
C1TrueDBGrid Members
Overload List