# GridLines Class

Namespace: [Qlik.Sense.Client.Visualizations.Components](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.htm)  
Assembly: Qlik.Sense.Client.dll

Grid lines settings.

## Inheritance

* System.Object
  * [AbstractStructure](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm)
    * GridLines

## Syntax

```
public class GridLines : AbstractStructure, IDisposable, IGridLines, IAbstractStructure
```

## Constructors

| Name | Description |
| --- | --- |
| [GridLines()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.GridLines.-ctor.htm#Qlik_Sense_Client_Visualizations_Components_GridLines__ctor) | Creates an instance of the GridLines class |

## Properties

| Name | Description |
| --- | --- |
| [Auto](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.GridLines.Auto.htm#Qlik_Sense_Client_Visualizations_Components_GridLines_Auto) | Automatic grid line spacing.<br><br>JSON property name: auto |
| [Spacing](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.GridLines.Spacing.htm#Qlik_Sense_Client_Visualizations_Components_GridLines_Spacing) | Grid line spacing. Used only when auto is set to false.<br><br>JSON property name: spacing |