Contents

isEnabled

A Boolean value indicating whether the cell is currently enabled.

Declaration

var isEnabled: Bool { get set }

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