Instance Property

highlightState

The highlight state currently applied to the item.

Declaration

@property NSCollectionViewItemHighlightState highlightState;

Discussion

The highlight state provides a visual indication of operations happening to items in the collection view. The highlight state normally toggles between the NSCollectionViewItemHighlightNone and NSCollectionViewItemHighlightForSelection states, but other states may be applied to indicate transient conditions. For example, the NSCollectionViewItemHighlightForDeselection state is applied during interactive selections when a currently selected item is about to be deselected.

See Also

Managing the Selection and Highlight States

selected

A Boolean indicating whether the item is currently selected.