| GridControlHideCols Method (UInt32, UInt32, Boolean, RedrawFlags) |
Hides the specified columns.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool HideCols(
uint fromCol,
uint toCol,
bool hide,
RedrawFlags redraw
)
Public Function HideCols (
fromCol As UInteger,
toCol As UInteger,
hide As Boolean,
redraw As RedrawFlags
) As Boolean
public:
bool HideCols(
unsigned int fromCol,
unsigned int toCol,
bool hide,
RedrawFlags redraw
)
Parameters
- fromCol
- Type: SystemUInt32
The first column to hide. - toCol
- Type: SystemUInt32
The last column to hide. - hide
- Type: SystemBoolean
The visible flag for all rows. - redraw
- Type: Stingray.GridRedrawFlags
The redraw technique.
It can take the following values:
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
HideCols(fromCol,
toCol,
hide,
redraw,
Do).
See Also