---
title: selectionOverlayStyle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrubber/selectionoverlaystyle
---

# selectionOverlayStyle

The style overlaid on selected items.

## Declaration

```swift
var selectionOverlayStyle: NSScrubberSelectionStyle? { get set }
```

## Discussion

Discussion The default value is nil, which specifies no overlay decoration. You can either choose from one of the built-in selection styles (outlineOverlay or roundedBackground), or you can subclass NSScrubberSelectionStyle to create your own custom selection style.

## See Also

### Configuring the selection appearance

- [floatsSelectionViews](appkit/nsscrubber/floatsselectionviews.md)
- [selectionBackgroundStyle](appkit/nsscrubber/selectionbackgroundstyle.md)
