# MaxSegments Property

## Overloads

| [MaxSegments](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.IGaugeLayout.MaxSegments.htm#Qlik_Sense_Client_Visualizations_IGaugeLayout_MaxSegments) |  | Max number of color segments.<br><br>JSON property name: maxSegments |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.IGaugeLayout.MaxSegments.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.IGaugeLayout.MaxSegments.htm)

## MaxSegments

Max number of color segments.

JSON property name: maxSegments

### Declaration

```

          int MaxSegments { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| System.Int32 |  |