SpreadsheetGear 2017
Invalidate(Region,Boolean) Method






SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class > Invalidate Method : Invalidate(Region,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 region As System.Drawing.Region, _
   ByVal invalidateChildren As System.Boolean _
) 
'Usage
 
Dim instance As WorkbookView
Dim region As System.Drawing.Region
Dim invalidateChildren As System.Boolean
 
instance.Invalidate(region, invalidateChildren)
public void Invalidate( 
   System.Drawing.Region region,
   System.bool invalidateChildren
)
public procedure Invalidate( 
    region: System.Drawing.Region;
    invalidateChildren: System.Boolean
); 
public function Invalidate( 
   region : System.Drawing.Region,
   invalidateChildren : System.boolean
);
public: void Invalidate( 
   System.Drawing.Region* region,
   System.bool invalidateChildren
) 
public:
void Invalidate( 
   System.Drawing.Region^ region,
   System.bool invalidateChildren
) 

Parameters

region
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