# ChartGridPanelSpan

Describes how many grid tracks a chart panel should occupy in a chart grid.

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartGridPanelSpan.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGridPanelSpan.cs#L15)

**Base**

`ValueType`

**Modifiers**

sealed

Describes how many grid tracks a chart panel should occupy in a chart grid.

## Inheritance

- ValueType
- ChartGridPanelSpan

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [ChartGrid.PanelSpans](/api/chartforgex-core-chartgrid/#property-panelspans)

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartGridPanelSpan(int columnSpan, int rowSpan = 1)` [#](#constructor-ctor-int32-int32) 

[ChartGridPanelSpan.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGridPanelSpan.cs#L15)

Initializes a new panel span.

Parameters

**columnSpan int required**

The number of grid columns occupied by the panel.

**rowSpan int = 1 optional**

The number of grid rows occupied by the panel.

## Inherited Methods

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from ValueType

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from ValueType

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public override string? ToString()` [#](#method-tostring) 

Inherited from ValueType

Returns

 `string?` 

## Properties

 `public int ColumnSpan { get; }` [#](#property-columnspan) 

[ChartGridPanelSpan.cs:24](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGridPanelSpan.cs#L24)

Gets the number of grid columns occupied by the panel.

 `public int RowSpan { get; }` [#](#property-rowspan) 

[ChartGridPanelSpan.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGridPanelSpan.cs#L29)

Gets the number of grid rows occupied by the panel.

<!-- PowerForge markdown artifact sha256:B7357161EEB06CAACACF3CABD26916444B58888B5CDE16E16643532C41818F08 -->
