ComponentOne List for WinForms
In This Topic
    Displaying Boolean Values as Check Boxes
    In This Topic

    You can also use the ValueItemCollection object to represent Boolean values as in-cell check boxes. You can achieve the effect of a working Boolean checkbox without defining any ValueItem objects just set the Presentation property to CheckBox.

    Note that you do not need to select the Translate check box to enable automatic data translation. The following figure shows a typical check box display.

    Note: If you want to use different check box bitmaps, you can still define a two-state collection of ValueItem objects through the Value property of the C1DataColumn. Set the Presentation property to Normal, and set the Translate property to True.