officefileapi-devexpress-dot-pdf-dot-pdfgraphicsacroformradiogroupfield-a432e9e0.md
Gets or sets the radio button style.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Drawing.dll
NuGet Package : DevExpress.Pdf.Drawing
public PdfAcroFormButtonStyle ButtonStyle { get; set; }
Public Property ButtonStyle As PdfAcroFormButtonStyle
| Type | Description |
|---|---|
| PdfAcroFormButtonStyle |
An enumeration value that determines the style of a radio button in a radio group.
|
Available values:
| Name | Description |
|---|---|
| Circle |
Circle button style.
| | Check |
Check button style.
| | Star |
Star button style.
| | Cross |
Cross button style.
| | Diamond |
Diamond button style.
| | Square |
Square button style.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ButtonStyle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
pdf-document-api-create-radio-button-group-field/CS/AddRadioButtonField/Program.cs#L38
radioGroup.SelectedIndex = 1;
radioGroup.ButtonStyle = PdfAcroFormButtonStyle.Circle;
radioGroup.Appearance.BackgroundColor = Color.Aqua;
pdf-document-api-create-radio-button-group-field/VB/AddRadioButtonField/Program.vb#L33
radioGroup.SelectedIndex = 1
radioGroup.ButtonStyle = PdfAcroFormButtonStyle.Circle
radioGroup.Appearance.BackgroundColor = Color.Aqua
See Also
PdfGraphicsAcroFormRadioGroupField Class