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

# hidden

An attribute indicating the hidden style.

## Declaration

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

## Discussion

Discussion When you use this attribute, the menu system doesn’t display the menu element. However, if the menu element is a UIKeyCommand object, the user can still select it using the keyboard shortcut specified by the key command object.

## See Also

### Attributes

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