| CellControlOnCancelEditing Method |
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax protected virtual bool OnCancelEditing(
CancelEditingEventArgs e
)
Protected Overridable Function OnCancelEditing (
e As CancelEditingEventArgs
) As Boolean
protected:
virtual bool OnCancelEditing(
CancelEditingEventArgs^ e
)
Parameters
- e
- Type: Stingray.GridCancelEditingEventArgs
The event data.
Return Value
Type:
Booleantrue if the event data allows to cancel the action;
false otherwise.
Remarks
This method is invoked when the user presses
ESC in the current
cell. The following steps show the default processing for this event:
- The CancelEditing event is raised, and delegates are invoked.
You can indicate whether or not editing can be canceled.
- The CancelEditing event is raised. You can again
indicate whether or not editing can be canceled.
- Editing can be cancelled if it is never indicated that editing
cannot be canceled.
You can monitor all controls via the
CancelEditing event,
or you can attach a delegate to the specific CellControl that
you want to monitor.
See Also