Syncfusion.Grid.Windows
Example 


HideCols Property (GridControl)

See GridModel.HideCols in the GridModel class for information.
Syntax
'Declaration
 
<DescriptionAttribute("Hide columns interactively.")>
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<CategoryAttribute("Grid Contents")>
Public Property HideCols As GridModelHideRowColsIndexer
'Usage
 
Dim instance As GridControl
Dim value As GridModelHideRowColsIndexer
 
instance.HideCols = value
 
value = instance.HideCols
[Description("Hide columns interactively.")]
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Category("Grid Contents")]
public GridModelHideRowColsIndexer HideCols {get; set;}
Example
This example shows how to use HideCols property.
// Hiding the first column.
this.gridControl1.HideCols[1] = true;
// Removing the second column from hidden.
this.gridControl1.HideCols[4] = false;
' Hiding the first column.
Me.gridControl1.HideCols[1] = true
' Removing the second column from hidden.
Me.gridControl1.HideCols[4] = false
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also