New to Telerik Document ProcessingStart a free 30-day trial

Binary choice field that toggles on/off; supports custom export value and configurable appearance.

Definition

Constructors

Initialize a new CheckBoxField with the provided name.

C#
public CheckBoxField(string fieldName)
Parameters:fieldNamestring

The field name.

Properties

Gets or sets the value exported when the checkbox is checked; unchecked exports nothing by default.

C#
public string ExportValue { get; set; }

Gets the field category reported to viewers for rendering and processing.

C#
public override sealed FormFieldType FieldType { get; }

Overrides: FormField.FieldType

Gets or sets whether the checkbox is currently selected.

C#
public bool IsChecked { get; set; }

Gets or sets whether the checkbox is selected when the form is reset to defaults.

C#
public bool IsCheckedByDefault { get; set; }