---
title: removalAllowed
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsstatusitem/behavior-swift.struct/removalallowed
---

# removalAllowed

A status item that allows interactive removal.

## Declaration

```swift
static var removalAllowed: NSStatusItem.Behavior { get }
```

## Discussion

Discussion Status items with this behavior allow interactive removal from the menu bar. Upon removal, the item’s isVisible property changes to false. This change is observable using key-value observation.

## See Also

### Behaviors

- [terminationOnRemoval](appkit/nsstatusitem/behavior-swift.struct/terminationonremoval.md)
