<!--
{
  "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

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

The button widget is in a selected state.

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

The button widget is in an unselected state.

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

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



---

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)