CellReady Event
The CellReady event of the ICellProvider interface occurs when a cell changes such as when a cell is selected or updated.
Event Data
The event handler receives an argument of type CellReadyEventArgs containing data related to this event. The following CellReadyEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cell | The data from the selected or updated cell. |
Remarks
The CellReady event should also be used to send out the initial value of the cell if appropriate. The CellReady event occurs every time the PartCommunicationMain event handler runs. For client-side connections, the CellReady event can occur anytime after PartCommunicationMain runs.
Example
The following code example shows an overridden PartCommunicationMain method that creates a CellReadyEventArgs data structure to contain the provided cell value, sets the cell value, and then fires the CellReady event. This code example is part of a larger example provided for the ICellProvider interface.
Requirements
Platforms: Windows ServerĀ 2003
Security: Code Access Security