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

# scrollerStyle

The scroller style used by the scroll view.

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

## Discussion

See [`NSScroller.Style`](/documentation/AppKit/NSScroller/Style) for possible values.

This setting is automatically set at runtime, based on the user’s preference setting and, if relevant, the set of connected pointing devices and their configured scroll capabilities, as determined by the [`NSScroller`](/documentation/AppKit/NSScroller) method [`preferredScrollerStyle`](/documentation/AppKit/NSScroller/preferredScrollerStyle).

Setting an scroll view’s scroller style sets the style of both the horizontal and vertical scrollers.  If the scroll view subsequently creates or is assigned a new horizontal or vertical scroller, they are assigned the same scroller style assigned to the scroll view.

---

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)