---
title: mixedStateImage
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmenuitem/mixedstateimage
---

# mixedStateImage

The image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.”

## Declaration

```swift
var mixedStateImage: NSImage! { get set }
```

## Discussion

Discussion A mixed state is useful for indicating a mix of “off” and “on” attribute values in a group of selected objects, such as a selection of text containing boldface and plain (non-boldface) words. By default this is a horizontal line.

## See Also

### Related Documentation

- [state](appkit/nsmenuitem/state.md)

### Managing the image

- [image](appkit/nsmenuitem/image.md)
- [onStateImage](appkit/nsmenuitem/onstateimage.md)
- [offStateImage](appkit/nsmenuitem/offstateimage.md)
