ComponentOne List for WinForms
In This Topic
    Selecting All Rows with a CheckBox
    In This Topic

    The Show Header Checkbox property allows you to select an entire list of information instead of having to check each individual row or column. Follow these steps to apply a Header Checkbox to your list:

    1. Start with the project you completed at the end of the Quick Start Step 2.
    2. Select the C1List control on your form to open the Properties window. Change the SelectionMode property from One to Checkbox.
    3. Change the ShowHeaderCheckBox property to True.
      Your form should look similar to the following image:
    4. Press the F5 key to run your application. Note that the C1List now has a checkbox appearing in the header that allows you to select the entire list.