---
title: NSCollectionViewItem.HighlightState.forSelection
framework: appkit
role: symbol
role_heading: Case
path: appkit/nscollectionviewitem/highlightstate-swift.enum/forselection
---

# NSCollectionViewItem.HighlightState.forSelection

The selected highlight state. This type of highlight is applied when an item is selected. During interactive highlighting, this state is also applied to indicate that the item will become highlighted.

## Declaration

```swift
case forSelection
```

## See Also

### Constants

- [NSCollectionViewItem.HighlightState.none](appkit/nscollectionviewitem/highlightstate-swift.enum/none.md)
- [NSCollectionViewItem.HighlightState.forDeselection](appkit/nscollectionviewitem/highlightstate-swift.enum/fordeselection.md)
- [NSCollectionViewItem.HighlightState.asDropTarget](appkit/nscollectionviewitem/highlightstate-swift.enum/asdroptarget.md)
