| GridControlTransferCurrentCell Method (Boolean, RedrawFlags, Boolean) |
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 virtual bool TransferCurrentCell(
bool saveAndValidate,
RedrawFlags redraw,
bool createHint
)
Public Overridable Function TransferCurrentCell (
saveAndValidate As Boolean,
redraw As RedrawFlags,
createHint As Boolean
) As Boolean
public:
virtual bool TransferCurrentCell(
bool saveAndValidate,
RedrawFlags redraw,
bool createHint
)
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.
- createHint
- Type: SystemBoolean
Specifies that a hint should be
created.
Return Value
Type:
Booleantrue if the operation is successful,
false otherwise.
See Also