<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSMenu/userInterfaceLayoutDirection",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMenu(py)userInterfaceLayoutDirection"
  },
  "title" : "userInterfaceLayoutDirection"
}
-->

# userInterfaceLayoutDirection

Configures the layout direction of menu items in the menu.

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

## Discussion

This property configures the layout direction (a value of type [`NSUserInterfaceLayoutDirection`](/documentation/AppKit/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`](/documentation/AppKit/NSApplication/userInterfaceLayoutDirection) in [`NSApplication`](/documentation/AppKit/NSApplication).

## See Also

[`NSUserInterfaceLayoutDirection`](/documentation/AppKit/NSUserInterfaceLayoutDirection)

Specifies the directional flow of the user interface.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)