---
title: destructive
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uimenuelement/attributes/destructive
---

# destructive

An attribute indicating the destructive style.

## Declaration

```swift
static var destructive: UIMenuElement.Attributes { get }
```

## Discussion

Discussion When you use this attribute, the menu system displays the menu element in a more prominent style, such as with red text.

## See Also

### Attributes

- [disabled](uikit/uimenuelement/attributes/disabled.md)
- [hidden](uikit/uimenuelement/attributes/hidden.md)
- [keepsMenuPresented](uikit/uimenuelement/attributes/keepsmenupresented.md)
