Contents

selectionBackgroundStyle

The style applied to the background of selected items.

Declaration

var selectionBackgroundStyle: NSScrubberSelectionStyle? { get set }

Discussion

The default value is nil, which specifies no background 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