| GridControlScrollCellInView Method (UInt32, UInt32, RedrawFlags, Boolean) |
Scrolls the cell into the view if it is outside the visible
area.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public virtual bool ScrollCellInView(
uint row,
uint col,
RedrawFlags redraw,
bool floatCell
)
Public Overridable Function ScrollCellInView (
row As UInteger,
col As UInteger,
redraw As RedrawFlags,
floatCell As Boolean
) As Boolean
public:
virtual bool ScrollCellInView(
unsigned int row,
unsigned int 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:
Booleantrue if the operation is successful,
false otherwise.
See Also