Syncfusion.Grid.Windows
Example 


HideCols Property (GridModel)

Gets hidden columns in the grid.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<CategoryAttribute("Behavior-Visibility")>
<DescriptionAttribute("Hide columns interactively.")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public ReadOnly Property HideCols As GridModelHideRowColsIndexer
'Usage
 
Dim instance As GridModel
Dim value As GridModelHideRowColsIndexer
 
value = instance.HideCols
[Browsable(false)]
[Category("Behavior-Visibility")]
[Description("Hide columns interactively.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public GridModelHideRowColsIndexer HideCols {get;}
Example
// Hiding the first column.
this.gridControl1.Model.HideCols[1] = true;
// Removing the second column from hidden.
this.gridControl1.Model.HideCols[4] = false;
' Hiding the first column.
Me.gridControl1.Model.HideCols(1) = True
' Removing the second column from hidden.
Me.gridControl1.Model.HideCols(4) = False
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also