CheckBox

You can use the CheckBox control to represent a Boolean value in a report. By default, the CheckBox control appears as a small box inside an empty Checkbox. If the Checked value is set to True, the small box appears with a check mark; if False, the box is empty. By default, the checkbox is empty.

Structure

 CheckBox Structure

Important Properties

Clicking the four-way arrow selects the control and reveals its properties in the Properties panel.

Property Description
Checked Gets or sets a value indicating whether the check box is in the checked state. You can also set the Checked property of the CheckBox in code or bind it to a Boolean database value.
Text Gets or sets the printed caption of the CheckBox . 
CheckAlignment Gets or sets the alignment of the CheckBox text within the control drawing area.

You can double-click the CheckBox control to enter edit mode and enter text directly in the control, or you can enter text in the Properties panel or you can assign data to display in code through the Text property.

In edit mode, you can modify the CheckBox properties in the Property Grid. Formats apply to all of the text in the control.

CheckBox Dialog Properties

You can set the CheckBox properties in the CheckBox dialog. To open it, with the CheckBox selected on the report, under the Properties panel, click the Property dialog link.

Checkbox Properties Dialog

Click on a property section name below for more details on the properties it contains.

Keyboard Shortcuts

In the edit mode, you can use the following keyboard shortcuts.

Key Combination Action
Enter New line.
Alt + Enter Saves modifications and exits edit mode.
Esc Cancels modifications and exits edit mode.