---
title: maxValue
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nslevelindicatorcell/maxvalue
---

# maxValue

The maximum value of the control.

## Declaration

```swift
var maxValue: Double { get set }
```

## Discussion

Discussion The maximum value is dependent on the style of the control. For continuous styles, the default value of this property is 100.0. For discrete styles, the default maximum value is 5.0.

## See Also

### Configuring the Range of Values

- [minValue](appkit/nslevelindicatorcell/minvalue.md)
- [levelIndicatorStyle](appkit/nslevelindicatorcell/levelindicatorstyle.md)
- [warningValue](appkit/nslevelindicatorcell/warningvalue.md)
- [criticalValue](appkit/nslevelindicatorcell/criticalvalue.md)
