---
title: pullsDown
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nspopupbutton/pullsdown
---

# pullsDown

A Boolean value indicating whether the button displays a pull-down or pop-up menu.

## Declaration

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

## Discussion

Discussion When the value of this property is true, the button displays a pull-down menu; otherwise, it displays a pop-up menu. This property does not affect the contents of the menu; it affects only the style of the menu. When changing the menu type to a pull-down menu, if the menu was a pop-up menu and the cell alters the state of its selected items, this method sets the state of the currently selected item to NSStateOff before changing the menu type.

## See Also

### Related Documentation

- [init(frame:pullsDown:)](appkit/nspopupbutton/init(frame:pullsdown:).md)

### Setting the type of menu

- [autoenablesItems](appkit/nspopupbutton/autoenablesitems.md)
