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

# maxValue

The maximum value the slider can send to its target.

## Declaration

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

## Discussion

Discussion The slider’s maximum value. A horizontal slider sends the maximum value when the knob is all the way to the trailing end of the bar. A vertical slider sends the maximum value when the knob is at the top.

## See Also

### Asking about the value limits

- [minValue](appkit/nsslider/minvalue.md)
