---
title: UIContextMenuConfiguration.ElementOrder
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uicontextmenuconfiguration/elementorder
---

# UIContextMenuConfiguration.ElementOrder

Constants that define the ordering strategy for menu elements in a context menu.

## Declaration

```swift
enum ElementOrder
```

## Topics

### Constants

- [UIContextMenuConfiguration.ElementOrder.automatic](uikit/uicontextmenuconfiguration/elementorder/automatic.md)
- [UIContextMenuConfiguration.ElementOrder.priority](uikit/uicontextmenuconfiguration/elementorder/priority.md)
- [UIContextMenuConfiguration.ElementOrder.fixed](uikit/uicontextmenuconfiguration/elementorder/fixed.md)

### Initializers

- [init(rawValue:)](uikit/uicontextmenuconfiguration/elementorder/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Specifying the order of menu elements

- [preferredMenuElementOrder](uikit/uicontextmenuconfiguration/preferredmenuelementorder.md)
