ComponentOne FlexReport for WinForms
Checkbox Field
Working with FlexReportDesigner > Adding FlexReport Fields > Checkbox Field

The Checkbox field is used to add a visual for Yes or No. The checkbox field, by default, appears as an empty box with the text on the right. It takes the boolean value; if it evaluates to true, a check mark appears in the check box.

To add data bound check box in FlexReportDesigner application:

  1. Create a new FlexReport in C1FlexReportDesigner.
  2. Bind it with Products Table. Select these fields - 'Product Name', 'Quantity Per Unit', 'Stock', and 'Discontinued'.
  3. From the Insert tab, click Checkbox field and select 'Discontinued' data field.
  4. Drop the data field in the Detail section of the report, below the Discontinued label in the group header.
  5. From Properties window, set CheckAlign to CenterMiddle.

     

  6. Preview the report.