---
title: buttonWidgetState
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfannotation/buttonwidgetstate
---

# buttonWidgetState

The current state of the button widget annotation.

## Declaration

```swift
var buttonWidgetState: PDFWidgetCellState { get set }
```

## See Also

### Configuring Button Widget Annotations

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