SpreadsheetGear 2023
Invalidate(Rectangle,Boolean) Method


SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class > Invalidate Method : Invalidate(Rectangle,Boolean) Method
Invalidates the cached WorkbookView drawing state and calls Control.Invalidate() which invalidates the surface of the WorkbookView and causes the WorkbookView to be redrawn. This causes the entire WorkbookView to be laid out and redrawn.
Syntax
'Declaration
 
Public Overloads Sub Invalidate( _
   ByVal rc As System.Drawing.Rectangle, _
   ByVal invalidateChildren As System.Boolean _
) 
'Usage
 
Dim instance As WorkbookView
Dim rc As System.Drawing.Rectangle
Dim invalidateChildren As System.Boolean
 
instance.Invalidate(rc, invalidateChildren)
public void Invalidate( 
   System.Drawing.Rectangle rc,
   System.bool invalidateChildren
)

Parameters

rc
invalidateChildren
Remarks
This method is thread safe and may be called by non-UI threads.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorkbookView Class
WorkbookView Members
Overload List
Update Method
Refresh Method