---
title: isEnabled
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscell/isenabled
---

# isEnabled

A Boolean value indicating whether the cell is currently enabled.

## Declaration

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

## Discussion

Discussion The value of this property is true when the cell is enabled or false when it is disabled. The text of disabled cells is gray. If a cell is disabled, it cannot be highlighted, does not support mouse tracking (and thus cannot participate in target/action functionality), and cannot be edited. However, you can still alter many attributes of a disabled cell programmatically. (The state property, for instance, still works.)

## See Also

### Managing Cell Attributes

- [setCellAttribute(_:to:)](appkit/nscell/setcellattribute(_:to:).md)
- [cellAttribute(_:)](appkit/nscell/cellattribute(_:).md)
- [type](appkit/nscell/type.md)
- [allowsUndo](appkit/nscell/allowsundo.md)
