| GridControlSetRowHeight Method (UInt32, UInt32, Int32, Int32, RedrawFlags, CmdType) |
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,
CmdType cmdType
)
Public Function SetRowHeight (
fromRow As UInteger,
toRow As UInteger,
height As Integer,
heightArray As Integer(),
redraw As RedrawFlags,
cmdType As CmdType
) As Boolean
public:
bool SetRowHeight(
unsigned int fromRow,
unsigned int toRow,
int height,
array<int>^ heightArray,
RedrawFlags redraw,
CmdType cmdType
)
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 with the row 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.
- cmdType
- Type: Stingray.GridCmdType
How the operation is performed.
Return Value
Type:
Booleantrue if the command is successfully executed;
false if the command fails or if the user aborts the
operation.
See Also