---
title: allowsDuplicatesInToolbar
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstoolbaritem/allowsduplicatesintoolbar
---

# allowsDuplicatesInToolbar

A Boolean value that indicates whether the toolbar item can appear more than once in a toolbar.

## Declaration

```swift
var allowsDuplicatesInToolbar: Bool { get }
```

## Discussion

Discussion If the value in this property is true, the toolbar allows someone to drag more than one copy of the toolbar item from the customization palette. If the value of this property is false, the toolbar prevents someone from dragging more than one copy of the item from the customization palette. By default, if an item with the same identifier is already in the toolbar, dragging it in again will effectively move it to the new position.

## See Also

### Deprecated

- [minSize](appkit/nstoolbaritem/minsize.md)
- [maxSize](appkit/nstoolbaritem/maxsize.md)
