Back to Devexpress

PdfGraphicsAcroFormRadioGroupField.ButtonStyle Property

officefileapi-devexpress-dot-pdf-dot-pdfgraphicsacroformradiogroupfield-a432e9e0.md

latest2.8 KB
Original Source

PdfGraphicsAcroFormRadioGroupField.ButtonStyle Property

Gets or sets the radio button style.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Drawing.dll

NuGet Package : DevExpress.Pdf.Drawing

Declaration

csharp
public PdfAcroFormButtonStyle ButtonStyle { get; set; }
vb
Public Property ButtonStyle As PdfAcroFormButtonStyle

Property Value

TypeDescription
PdfAcroFormButtonStyle

An enumeration value that determines the style of a radio button in a radio group.

|

Available values:

NameDescription
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

csharp
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

vb
radioGroup.SelectedIndex = 1
radioGroup.ButtonStyle = PdfAcroFormButtonStyle.Circle
radioGroup.Appearance.BackgroundColor = Color.Aqua

See Also

PdfGraphicsAcroFormRadioGroupField Class

PdfGraphicsAcroFormRadioGroupField Members

DevExpress.Pdf Namespace