| GridControlSetRowHeight Method (UInt32, UInt32, Int32, Int32, RedrawFlags) |
Sets the height of the specified rows.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool SetRowHeight(
uint fromRow,
uint toRow,
int height,
int[] heightArray,
RedrawFlags redraw
)
Public Function SetRowHeight (
fromRow As UInteger,
toRow As UInteger,
height As Integer,
heightArray As Integer(),
redraw As RedrawFlags
) As Boolean
public:
bool SetRowHeight(
unsigned int fromRow,
unsigned int toRow,
int height,
array<int>^ heightArray,
RedrawFlags redraw
)
Parameters
- fromRow
- Type: SystemUInt32
The first row index. - toRow
- Type: SystemUInt32
The last row index. - height
- Type: SystemInt32
The height of all the indicated rows, in
pixels. - heightArray
- Type: SystemInt32
An array holding the heights for the
specified rows. If it is nullptr,
height is used for all the indicated
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 below
the row fromRow.
Return Value
Type:
Booleantrue if the command is successfully executed;
false if the command fails or if the user aborts the
operation.
Remarks
Equivalent to
SetRowHeight(fromRow,
toRow,
height,
heightArray,
redraw,
Do).
See Also