• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class RadioButtonField

An individual radio button widget belonging to a mutually exclusive group. Setting Value changes the whole group's selected value.

Inheritance
object
FormField
RadioButtonField
Inherited Members
FormField.Tooltip
FormField.IsRequired
FormField.Page
FormField.Rect
FormField.Appearance
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
FormField.FieldType

Name

The group name (read-only for individual buttons).

Declaration
public override string Name { get; set; }
Property Value
Type Description
string
Overrides
FormField.Name

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
Overrides
FormField.Value
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX