<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSScroller/scrollerStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScroller(py)scrollerStyle"
  },
  "title" : "scrollerStyle"
}
-->

# scrollerStyle

The scroller style for this scroller.

```
var scrollerStyle: NSScroller.Style { get set }
```

## Discussion

For a scroller that’s managed by an [`NSScrollView`](/documentation/AppKit/NSScrollView) object, the setter is automatically invoked by the scroll view with the appropriate setting, according to the user’s Appearance preference settings and possibly what pointing device(s) are present (see [`preferredScrollerStyle`](/documentation/AppKit/NSScroller/preferredScrollerStyle)).

For a list of valid scroller styles, see [`NSScroller.Style`](/documentation/AppKit/NSScroller/Style).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)