| GridControlHideCols Method (UInt32, UInt32, Boolean, RedrawFlags, CmdType) |
Hides the specified columns.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public virtual bool HideCols(
uint fromCol,
uint toCol,
bool hide,
RedrawFlags redraw,
CmdType cmdType
)
Public Overridable Function HideCols (
fromCol As UInteger,
toCol As UInteger,
hide As Boolean,
redraw As RedrawFlags,
cmdType As CmdType
) As Boolean
public:
virtual bool HideCols(
unsigned int fromCol,
unsigned int toCol,
bool hide,
RedrawFlags redraw,
CmdType cmdType
)
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:
- 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