| GridControlInsertCols Method (UInt32, Int32, Int32, RedrawFlags) |
Inserts columns.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool InsertCols(
uint col,
int count,
int[] widthArray,
RedrawFlags redraw
)
Public Function InsertCols (
col As UInteger,
count As Integer,
widthArray As Integer(),
redraw As RedrawFlags
) As Boolean
public:
bool InsertCols(
unsigned int col,
int count,
array<int>^ widthArray,
RedrawFlags redraw
)
Parameters
- col
- Type: SystemUInt32
The column index where the new colums are
inserted. - count
- Type: SystemInt32
The number of columns to insert. - widthArray
- Type: SystemInt32
An array with the column widths for
the inserted columns. - 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 right of
the column col.
Return Value
Type:
Booleantrue if the operation is successful,
false otherwise.
Remarks
Equivalent to
InsertCols(col,
count,
widthArray,
redraw,
Do).
See Also