[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.UI.UIManager.Invalidate

Invalidate Method

Invalidate(IWorksheet, int, int, int, int, ActionCategory, object)

Invalidates the specified region of the worksheet, the control need to re-paint the corresponding cell range.

Declaration
protected virtual void Invalidate(IWorksheet worksheet, int row, int column, int row2, int column2, ActionCategory category = ActionCategory.General, object context = null)
Protected Overridable Sub Invalidate(worksheet As IWorksheet, row As Integer, column As Integer, row2 As Integer, column2 As Integer, Optional category As ActionCategory = ActionCategory.General, Optional context As Object = Nothing)
Parameters
Type Name Description
IWorksheet worksheet

A IWorksheet indicates the worksheet contains cell range.

int row

An integer value indicates the top row index of cell range.

int column

An integer value indicates the left column index of cell range.

int row2

An integer value indicates the bottom row index of cell range.

int column2

An integer value indicates the right column index of cell range.

ActionCategory category

An GrapeCity.Spreadsheet.UI.ActionCategory value indicates which data causes invalidating UI.

object context

A context object that specifies current object that is being invalidated

Invalidate(Worksheet, DrawingObject)

Invalidates the specified drawing object.

Declaration
protected virtual void Invalidate(Worksheet worksheet, DrawingObject shape)
Protected Overridable Sub Invalidate(worksheet As Worksheet, shape As DrawingObject)
Parameters
Type Name Description
Worksheet worksheet

The worksheet which contains the drawing object.

DrawingObject shape

The drawing object to invalidate.

Invalidate(IWorkbook, ActionCategory)

Invalidates the workbook.

Declaration
protected virtual void Invalidate(IWorkbook workbook, ActionCategory category)
Protected Overridable Sub Invalidate(workbook As IWorkbook, category As ActionCategory)
Parameters
Type Name Description
IWorkbook workbook

A IWorkbook indicates the workbook to repaint.

ActionCategory category

An GrapeCity.Spreadsheet.UI.ActionCategory value indicates which data causes invalidating UI.