Class CheckBoxField
Binary choice field that toggles on/off; supports custom export value and configurable appearance.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.InteractiveForms
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class CheckBoxField : FormField<TwoStatesButtonWidget>, IInstanceIdOwner, IStructuralElement, IWidgetCreator<TwoStatesButtonWidget>, ITwoStatesButtonField<bool>
Constructors
CheckBoxField(String)
Initialize a new CheckBoxField with the provided name.
Declaration
public CheckBoxField(string fieldName)
Parameters
|
System.String
fieldName
The field name. |
Properties
ExportValue
Gets or sets the value exported when the checkbox is checked; unchecked exports nothing by default.
Declaration
public string ExportValue { get; set; }
Property Value
|
System.String
|
FieldType
Gets the field category reported to viewers for rendering and processing.
Declaration
public override sealed FormFieldType FieldType { get; }
Property Value
|
FormFieldType
|
Overrides
IsChecked
Gets or sets whether the checkbox is currently selected.
Declaration
public bool IsChecked { get; set; }
Property Value
|
System.Boolean
|
IsCheckedByDefault
Gets or sets whether the checkbox is selected when the form is reset to defaults.
Declaration
public bool IsCheckedByDefault { get; set; }
Property Value
|
System.Boolean
|