---
title: selectionHighlightStyle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableview/selectionhighlightstyle-swift.property
---

# selectionHighlightStyle

The selection highlight style used by the table view to indicate row and column selection.

## Declaration

```swift
var selectionHighlightStyle: NSTableView.SelectionHighlightStyle { get set }
```

## Discussion

Discussion Setting the selection highlight style to NSTableView.SelectionHighlightStyle.sourceList causes the table view to draw its background using the source list style. It also sets the draggingDestinationFeedbackStyle to NSTableView.DraggingDestinationFeedbackStyle.sourceList.

## See Also

### Setting Display Attributes

- [intercellSpacing](appkit/nstableview/intercellspacing.md)
- [rowHeight](appkit/nstableview/rowheight.md)
- [backgroundColor](appkit/nstableview/backgroundcolor.md)
- [usesAlternatingRowBackgroundColors](appkit/nstableview/usesalternatingrowbackgroundcolors.md)
- [style](appkit/nstableview/style-swift.property.md)
- [effectiveStyle](appkit/nstableview/effectivestyle.md)
- [NSTableView.Style](appkit/nstableview/style-swift.enum.md)
- [gridColor](appkit/nstableview/gridcolor.md)
- [gridStyleMask](appkit/nstableview/gridstylemask.md)
- [indicatorImage(in:)](appkit/nstableview/indicatorimage(in:).md)
- [setIndicatorImage(_:in:)](appkit/nstableview/setindicatorimage(_:in:).md)
