---
title: PDFWidgetCellState.onState
framework: pdfkit
role: symbol
role_heading: Case
path: pdfkit/pdfwidgetcellstate/onstate
---

# PDFWidgetCellState.onState

The button widget is in a selected state.

## Declaration

```swift
case onState
```

## See Also

### Choosing a Cell State

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