| GridControlTransferCurrentCell Method (Boolean, RedrawFlags) |
Stores and deactivates the current cell or actualizes the
current cell's contents.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool TransferCurrentCell(
bool saveAndValidate,
RedrawFlags redraw
)
Public Function TransferCurrentCell (
saveAndValidate As Boolean,
redraw As RedrawFlags
) As Boolean
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:
Booleantrue if the operation is successful,
false otherwise.
Remarks See Also