Click or drag to resize
GridControlTransferCurrentCell Method (Boolean, RedrawFlags)
Stores and deactivates the current cell or actualizes the current cell's contents.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public bool TransferCurrentCell(
	bool saveAndValidate,
	RedrawFlags redraw
)

Parameters

saveAndValidate
Type: SystemBoolean
Specifies that the current cell's contents should be stored or that the current cell should be reinitialized.
redraw
Type: Stingray.GridRedrawFlags
The redraw technique. It can take one of the following values:
Invalidate
to simply invalidate the window.
Smart
to update the window after deactivating the cell; the new cell is invalidated only (UpdateWindow() is not called), and the redrawing is delayed until the grid receives a WM_PAINT message.
UpdateNow
The most efficient update technique to position the cell.

Return Value

Type: Boolean
true if the operation is successful, false otherwise.
Remarks
Equivalent to TransferCurrentCell(saveAndValidate, redraw, true).
See Also