Specifies whether the field should be displayed as a checkbox.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
[DefaultValueAttribute(CheckBoxEnum.NoCheckBox)]
public CheckBoxEnum CheckBox { get; set; }
Visual Basic
<DefaultValueAttribute(CheckBoxEnum.NoCheckBox)> _
Public Property CheckBox As CheckBoxEnum
	Get
	Set

Remarks

This property allows you to display boolean values graphically, rather than as plain text.

The default value for this property is CheckBoxEnum.NoCheckBox.

Examples

The following example sets the field so that it is displayed as a radio button:

Copy CodeVisual Basic
c1r.Field(0).CheckBox = C1.C1Report.CheckBoxEnum.RadioButton
Copy CodeC#
c1r.Field[0].CheckBox = C1.C1Report.CheckBoxEnum.RadioButton;

See Also