| GridControlSetColWidth Method (UInt32, UInt32, Int32, Int32) |
Sets the width of the specified columns.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool SetColWidth(
uint fromCol,
uint toCol,
int width,
int[] widthArray
)
Public Function SetColWidth (
fromCol As UInteger,
toCol As UInteger,
width As Integer,
widthArray As Integer()
) As Boolean
public:
bool SetColWidth(
unsigned int fromCol,
unsigned int toCol,
int width,
array<int>^ widthArray
)
Parameters
- fromCol
- Type: SystemUInt32
The first column index. - toCol
- Type: SystemUInt32
The last column index. - width
- Type: SystemInt32
The new width for all the indicated
columns, in pixels. - widthArray
- Type: SystemInt32
Holds the new widths for the specified
columns. If it is nullptr, width is
used for all the indicated columns.
Return Value
Type:
Booleantrue if the command is successfully executed;
false if the command fails or if the user aborts the
operation.
Remarks See Also