Class RadioButtonField
Represents a radio button form field that provides a group of mutually exclusive options where only one option can be selected at a time, commonly used for single-choice selections.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.InteractiveForms
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public sealed class RadioButtonField : FormField, IInstanceIdOwner, IStructuralElement, IWidgetCreator<RadioButtonWidget>, ITwoStatesButtonField<RadioOption>
Constructors
RadioButtonField(String)
Initializes a new instance of RadioButtonField class.
Declaration
public RadioButtonField(string fieldName)
Parameters
System.String
fieldName
The field name. |
Properties
AllowToggleOff
Gets or sets boolean value indicating whether to allow deselecting all radio buttons.
Declaration
public bool AllowToggleOff { get; set; }
Property Value
System.Boolean
|
DefaultValue
Gets or sets the default field value used when the form is reset to its default values.
Declaration
public RadioOption DefaultValue { get; set; }
Property Value
RadioOption
|
FieldType
Gets the field type.
Declaration
public override FormFieldType FieldType { get; }
Property Value
FormFieldType
|
Overrides
Options
Gets the collection of radio button options available for selection in this field.
Declaration
public RadioOptionCollection Options { get; }
Property Value
RadioOptionCollection
A collection containing all radio button options that users can choose from. |
ShouldUpdateRadiosInUnison
Gets or sets boolean value indicating whether to turn on and off in unison radio buttons that have the same value.
Declaration
public bool ShouldUpdateRadiosInUnison { get; set; }
Property Value
System.Boolean
|
Value
Gets or sets the currently selected radio button option in this field group.
Declaration
public RadioOption Value { get; set; }
Property Value
RadioOption
The selected radio option, or null if no option is currently selected. |
Widgets
Gets the collection of radio button widgets that visually represent the selectable options on document pages.
Declaration
public RadioButtonWidgetCollection Widgets { get; }
Property Value
RadioButtonWidgetCollection
A specialized widget collection containing all radio button widgets associated with this field. |