Click or drag to resize
GridControlInsertRows Method (UInt32, Int32, Int32, RedrawFlags)
Inserts rows.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public bool InsertRows(
	uint row,
	int count,
	int[] heightArray,
	RedrawFlags redraw
)

Parameters

row
Type: SystemUInt32
The row index where the new rows are inserted.
count
Type: SystemInt32
The number of rows to insert.
heightArray
Type: SystemInt32
An array with the row heights for the inserted rows.
redraw
Type: Stingray.GridRedrawFlags
The redraw technique. It can take one of the following values:
UpdateNow
to scroll the window contents and call UpdateWindow() after invalidating the window.
Smart
to scroll the window contents without calling UpdateWindow() after the last invalidation.
Invalidate
to simply invalidate the window area under the row row.

Return Value

Type: Boolean
true if the operation is successful, false otherwise.
Remarks
Equivalent to InsertCols(row, count, heightArray, redraw, Do).
See Also