Grid.Enabled Property
.NET Framework (current version)
Gets or sets a flag that determines whether major or minor grid lines are enabled.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
<BindableAttribute(True)> <PersistenceModeAttribute(PersistenceMode.Attribute)> Public Property Enabled As Boolean
Property Value
Type: System.BooleanTrue if enabled, false if disabled. The default is true for major grid objects and false for minor grid objects.
Major and minor grids are visible when enabled, and not visible when disabled.
Tick marks will not be displayed if disabled.
You can disable tick marks by setting the TickMarkStyle property to None.
.NET Framework
Available since 4.0
Available since 4.0
Show: