Click or drag to resize
GridControlScrollCellInView Method (UInt32, UInt32, RedrawFlags, Boolean)
Scrolls the cell into the view if it is outside the visible area.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public virtual bool ScrollCellInView(
	uint row,
	uint col,
	RedrawFlags redraw,
	bool floatCell
)

Parameters

row
Type: SystemUInt32
The row index.
col
Type: SystemUInt32
The column index.
redraw
Type: Stingray.GridRedrawFlags
The redraw technique. It can take the following values:
  • UpdateNow and Smart to allow scrolling and force and force a call to UpdateWindow()
  • Invalidate to simply invalidate the window
floatCell
Type: SystemBoolean
true if floated cell shall be handled like covered cells. That means if the specified cell is hidden by a floated cell, scroll the floated cell into view.

Return Value

Type: Boolean
true if the operation is successful, false otherwise.
See Also