Class RadioButtonField
An individual radio button widget belonging to a mutually exclusive group. Setting Value changes the whole group's selected value.
Inherited Members
Namespace: DRIT.Pdf.Forms
Assembly: DRIT.Pdf.dll
Syntax
public sealed class RadioButtonField : FormField
Properties
Checked
True when this button's Choice equals the group's selected value.
Declaration
public bool Checked { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Choice
The value this button contributes when selected.
Declaration
public string Choice { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FieldType
The field type.
Declaration
public override FieldType FieldType { get; }
Property Value
| Type | Description |
|---|---|
| FieldType |
Overrides
Name
The group name (read-only for individual buttons).
Declaration
public override string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Value
Get: the currently selected choice of the whole group. Set: selects this group's value (pass the choice string, e.g. "Male" or "Female").
Declaration
public override object? Value { get; set; }
Property Value
| Type | Description |
|---|---|
| object |