---
title: usesItemFromMenu
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nspopupbuttoncell/usesitemfrommenu
---

# usesItemFromMenu

A Boolean value that indicates if the control uses an item from the menu for its own title.

## Declaration

```swift
var usesItemFromMenu: Bool { get set }
```

## Discussion

Discussion When the value of this property is true, a pull-down menu uses the title of the first menu item, and a pop-up menu uses the title of the currently selected menu (if no menu item is selected, the pop-up button displays no item and is drawn empty). When the value is false, the menu item set with menuItem (NSMenuItem) is always displayed. The default value is true.

## See Also

### Accessing menu attributes

- [menu](appkit/nspopupbuttoncell/menu.md)
- [pullsDown](appkit/nspopupbuttoncell/pullsdown.md)
- [autoenablesItems](appkit/nspopupbuttoncell/autoenablesitems.md)
- [preferredEdge](appkit/nspopupbuttoncell/preferrededge.md)
- [altersStateOfSelectedItem](appkit/nspopupbuttoncell/altersstateofselecteditem.md)
- [arrowPosition](appkit/nspopupbuttoncell/arrowposition.md)
