---
title: isCollapsed
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscandidatelisttouchbaritem/iscollapsed
---

# isCollapsed

A Boolean value that controls the visibility of the candidate list.

## Declaration

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

## Discussion

Discussion When true, the candidate list is collapsed and not visible to the user. The default value is true.

## See Also

### Handling collapsible behavior

- [allowsCollapsing](appkit/nscandidatelisttouchbaritem/allowscollapsing.md)
