SpreadsheetGear 2012
Calculate Event (WorkbookView)






Occurs sometime after calculation of the workbook set associated with the workbook view control has completed.
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Data")>
<System.ComponentModel.DescriptionAttribute("Occurs when calculation has finished.")>
Public Event Calculate As CalculateEventHandler
'Usage
 
Dim instance As WorkbookView
Dim handler As CalculateEventHandler
 
AddHandler instance.Calculate, handler
[System.ComponentModel.Category("Data")]
[System.ComponentModel.Description("Occurs when calculation has finished.")]
public event CalculateEventHandler Calculate
public event Calculate: CalculateEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
[System.ComponentModel.Category("Data")]
[System.ComponentModel.Description("Occurs when calculation has finished.")]
public: __event CalculateEventHandler* Calculate
[System.ComponentModel.Category("Data")]
[System.ComponentModel.Description("Occurs when calculation has finished.")]
public:
event CalculateEventHandler^ Calculate
Remarks

The Calculate event occurs sometime after calculation of the workbook set associated with the workbook view control has completed.

The Calculate event is always invoked on the thread which created the workbook view control, and a lock is always acquired on the workbook set associated with the workbook view control before Calculate is invoked.

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

Send Feedback