---
title: selectionMode
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstoolbaritemgroup/selectionmode-swift.property
---

# selectionMode

The selection mode of the grouped toolbar item.

## Declaration

```swift
var selectionMode: NSToolbarItemGroup.SelectionMode { get set }
```

## See Also

### Configuring grouped toolbar items

- [controlRepresentation](appkit/nstoolbaritemgroup/controlrepresentation-swift.property.md)
- [NSToolbarItemGroup.ControlRepresentation](appkit/nstoolbaritemgroup/controlrepresentation-swift.enum.md)
- [NSToolbarItemGroup.SelectionMode](appkit/nstoolbaritemgroup/selectionmode-swift.enum.md)
