---
title: userInterfaceLayoutDirection
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmenu/userinterfacelayoutdirection
---

# userInterfaceLayoutDirection

Configures the layout direction of menu items in the menu.

## Declaration

```swift
var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get set }
```

## Discussion

Discussion This property configures the layout direction (a value of type NSUserInterfaceLayoutDirection) of menu items in the menu. If no layout direction is explicitly set for a menu, then the menu defaults to the layout direction specified for the application object. See userInterfaceLayoutDirection in NSApplication.

## See Also

### Related Documentation

- [NSUserInterfaceLayoutDirection](appkit/nsuserinterfacelayoutdirection.md)
