---
title: PDFWidgetCellState
framework: pdfkit
role: symbol
role_heading: Enumeration
path: pdfkit/pdfwidgetcellstate
---

# PDFWidgetCellState

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

## Declaration

```swift
enum PDFWidgetCellState
```

## Topics

### Choosing a Cell State

- [PDFWidgetCellState.onState](pdfkit/pdfwidgetcellstate/onstate.md)
- [PDFWidgetCellState.offState](pdfkit/pdfwidgetcellstate/offstate.md)
- [PDFWidgetCellState.mixedState](pdfkit/pdfwidgetcellstate/mixedstate.md)

### Initializers

- [init(rawValue:)](pdfkit/pdfwidgetcellstate/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring Button Widget Annotations

- [widgetControlType](pdfkit/pdfannotation/widgetcontroltype.md)
- [buttonWidgetState](pdfkit/pdfannotation/buttonwidgetstate.md)
- [buttonWidgetStateString](pdfkit/pdfannotation/buttonwidgetstatestring.md)
- [caption](pdfkit/pdfannotation/caption.md)
- [allowsToggleToOff](pdfkit/pdfannotation/allowstoggletooff.md)
- [radiosInUnison](pdfkit/pdfannotation/radiosinunison.md)
