| CellControlOnStore Method |
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax protected virtual bool OnStore(
StoreCurrentCellEventArgs e
)
Protected Overridable Function OnStore (
e As StoreCurrentCellEventArgs
) As Boolean
protected:
virtual bool OnStore(
StoreCurrentCellEventArgs^ e
)
Parameters
- e
- Type: Stingray.GridStoreCurrentCellEventArgs
The event data.
Return Value
Type:
Booleantrue 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