[]
Invalidates the specified region of the worksheet, the control need to re-paint the corresponding cell range.
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)
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 |
Invalidates the specified drawing object.
protected virtual void Invalidate(Worksheet worksheet, DrawingObject shape)
Protected Overridable Sub Invalidate(worksheet As Worksheet, shape As DrawingObject)
Type | Name | Description |
---|---|---|
Worksheet | worksheet | The worksheet which contains the drawing object. |
DrawingObject | shape | The drawing object to invalidate. |
Invalidates the workbook.
protected virtual void Invalidate(IWorkbook workbook, ActionCategory category)
Protected Overridable Sub Invalidate(workbook As IWorkbook, category As ActionCategory)
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. |