Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / Invalidate Method
Example


In This Topic
    Invalidate Method (Cell)
    In This Topic
    Invalidates the displayed cells and sends the message to repaint them.
    Syntax
    'Declaration
     
    Public Sub Invalidate() 
    'Usage
     
    Dim instance As Cell
     
    instance.Invalidate()
    public void Invalidate()
    Example
    This example invalidates the cell object and forces the component to repaint the cell.
    FarPoint.Win.Spread.Cell aCell;
    aCell = fpSpread1.ActiveSheet.Cells[0, 0];
    acell.Invalidate();
    Dim acell As FarPoint.Win.Spread.Cell
    acell = fpSpread1.ActiveSheet.Cells(0, 0)
    acell.Invalidate()
    See Also