Invalidates the current row.
[Visual Basic]
Overloads Public Sub RefreshRow()
[C#]
public void RefreshRow()
[Delphi]
public procedure RefreshRow(); overload;
Remarks
The RefreshRow method causes a repaint of the entire row 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 row to be repainted and hence cause the appropriate events to fire.
Example
The following code refreshes the current row:
Me.C1TrueDBGrid1.RefreshRow()
· C#
this.c1TrueDBGrid1.RefreshRow();
· Delphi
Self.C1TrueDBGrid1.RefreshRow;
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace | C1TrueDBGrid.RefreshRow Overload List
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |