[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.UI.UIManager

UIManager Class

Represents an interface which indicates the UI control.

Inheritance
UIManager
Namespace: GrapeCity.Spreadsheet.UI
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public abstract class UIManager
Public MustInherit Class UIManager

Constructors

Name Description
UIManager()

Initializes a new instance of the UIManager class.

Properties

Name Description
RemainedDataChangedCount

Gets the total number of the remained data changed ranges.

WorkbookSet

Gets the associated WorkbookSet.

Methods

Name Description
Awake()

This function is called after the last call to GrapeCity.Spreadsheet.WorkbookSet.EndUpdate() which cause WorkbookSet not to be suspended. The UIManager is intended to refresh everything.

CanFireShapeChanged(EventArgs)

Gets a value indicating whether the UI Manager can fire ShapeChanged event.

CircleInvalid(IWorksheet, CellReference[])

Paints the invalid cells.

Execute(object, object)

Execute an UI command.

GetRemainedDataChanged(int, out IWorksheet, out int, out int, out int, out int, out ActionCategory)

Gets the changed range.

Invalidate(IWorkbook, ActionCategory)

Invalidates the workbook.

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.

Invalidate(Worksheet, DrawingObject)

Invalidates the specified drawing object.

NotifyDataChanged()

Resumes all queued data changed events.

OnCircularCellChanged(ref WorksheetReference, bool)

Called when circular references state is changed for the specified cell range.

OnCircularCellChanged(WorksheetReference[], WorksheetReference[])

Called when circular references state is changed for the specified cell range.

OnCircularChanged(bool)

Called when circular references state is changed.

OnColumnVisibilityChanged(IWorksheet, int, int)

Column visibility is changed.

OnDataChanged(IWorksheet, int, int)

Called when cell's value is changed.

OnDataChanged(IWorksheet, int, int, int, int, ActionCategory)

Called when cell range's values are changed.

OnRowVisibilityChanged(IWorksheet, int, int, bool)

Row visibility is changed.

OnShapeChanged(IWorksheet, ShapeEventArgs)

Occurs when the shape is changed.

OnStateChanged(StateEventArgs)

Occurs when the state of active element is changed.

OnWorkbookNameChanged(IWorkbook)

Called when the workbook name changed.

ReportError(ref ActionResult<object>)

Displays the exception.

ResolveImageData(IMedia, out int, out int)

Loads the image data.

ResolveImageData(string)

Loads the image data.

ShouldFireStateChanged()

Gets a boolean value indicating whether the StateChanged event should be fired.

Events

Name Description
ShapeChanged

Occurs when the shape is changed.

StateChanged

Occurs when the state of active element is changed.