---
title: preferredScrollEdgeEffectStyle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstitlebaraccessoryviewcontroller/preferredscrolledgeeffectstyle
---

# preferredScrollEdgeEffectStyle

The titlebar accessory’s preferred effect for content scrolling behind it.

## Declaration

```swift
var preferredScrollEdgeEffectStyle: NSScrollEdgeEffectStyle { get set }
```

## Discussion

Discussion To allow for a soft edge on the bottom edge of a titlebar accessory: titlebarAccessoryViewController.preferredScrollEdgeEffectStyle = NSScrollEdgeEffectStyle.softStyle;

## See Also

### Configuring the scroll edge effect

- [NSScrollEdgeEffectStyle](appkit/nsscrolledgeeffectstyle.md)
