    

 ## On this page

  

 

 # Class Grid

 Last update: 09.03.2026 

Namespace: [OpenTD.Results.Plot](OpenTD.Results.Plot.md)  
Assembly: OpenTD.Results.dll

Represents a grid drawn in the main plot area.

```csharp
public class Grid

```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [Grid](OpenTD.Results.Plot.Grid.md)

## Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring), [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)), [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)), [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### Grid()

```csharp
public Grid()

```

## Properties

### Enabled

```csharp
public bool Enabled { get; set; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### LineColor

```csharp
public Color LineColor { get; set; }

```

#### Property Value

[Color](https://learn.microsoft.com/dotnet/api/system.drawing.color)

### LineDashStyle

```csharp
public ChartDashStyle LineDashStyle { get; set; }

```

#### Property Value

[ChartDashStyle](https://learn.microsoft.com/dotnet/api/system.windows.forms.datavisualization.charting.chartdashstyle)

### LineWidth

```csharp
public int LineWidth { get; set; }

```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

## See Also

[Plot2d](OpenTD.Results.Plot.Plot2d.md)