Click or drag to resize
CellControlOnLeftCell Method
Raises the LeftCell event.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
protected virtual bool OnLeftCell(
	LeftCellEventArgs e
)

Parameters

e
Type: Stingray.GridLeftCellEventArgs
The event data.

Return Value

Type: Boolean
true if the event data indicates that the previous current cell should be refreshed; false otherwise.
Remarks
This method is invoked after the current cell is deactivated. At the time this event is raised, the grid does not have a current cell. You can attach a delegate to this event if you want to control refreshing of the current cell after it is deactivated. The following steps show the default processing for this event:
  • The LeftCell event is raised, and delegates are invoked.
  • The .NET CellControl loses focus. Focus is returned to the GridControl.
  • The cell is marked as inactive.
  • The .NET control Visible property is set to false.
  • The LeftCell event is raised.
  • The grid cell at the old current cell coordinates is redrawn.
See Also