<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFWidgetCellState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:@E@PDFWidgetCellState"
  },
  "title" : "PDFWidgetCellState"
}
-->

# PDFWidgetCellState

The state of a button annotation, either on, off, or mixed.

```
enum PDFWidgetCellState
```

## Topics

### Choosing a Cell State

[`kPDFWidgetOnState`](/documentation/PDFKit/PDFWidgetCellState/onState)

The button widget is in a selected state.

[`kPDFWidgetOffState`](/documentation/PDFKit/PDFWidgetCellState/offState)

The button widget is in an unselected state.

[`kPDFWidgetMixedState`](/documentation/PDFKit/PDFWidgetCellState/mixedState)

The button widget is in a mixed state, neither on nor off.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

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)