<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCell/StateValue",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSCellStateValue"
  },
  "title" : "NSCell.StateValue"
}
-->

# NSCell.StateValue

Constants for specifying a cell’s state and are used mostly for buttons.

```
typealias StateValue = NSControl.StateValue
```

## Discussion

These constants are described in [Cell States](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ControlCell/Concepts/CellStates.html#//apple_ref/doc/uid/20000069).

## Topics

### Constants

[`static const NSControlStateValue NSMixedState;`](/documentation/AppKit/NSMixedState)

The corresponding feature is in effect somewhere.

[`static const NSControlStateValue NSOffState;`](/documentation/AppKit/NSOffState)

The corresponding feature is in effect nowhere.

[`static const NSControlStateValue NSOnState;`](/documentation/AppKit/NSOnState)

The corresponding feature is in effect everywhere.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)