Click or drag to resize
CellControlOnStore Method
Raises the StoreCurrentCell event.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: [TAG_DECIMAL_VERSION]
Syntax
protected virtual bool OnStore(
	StoreCurrentCellEventArgs e
)

Parameters

e
Type: Stingray.GridStoreCurrentCellEventArgs
The event data.

Return Value

Type: Boolean
true if the event data allows to store the data; false otherwise.
Remarks
This method is invoked to store the cell's data to the grid. It is invoked only if the cell contents has changed. For your convenience, the cell is marked as modified as part of the event handling for the StartEditing event.

You can attach delegates to this event to store the edited contents of your cell.

By default, the value of the Text property from the embedded .NET control is stored in the Value property for the current cell. For more complex data storing, you should attach a delegate to the StoreCurrentCell event and implement the desired data storage functionality.

See Also