ComponentOne True DBGrid for WinForms
Object Model / SelectedColumnCollection Class
In This Topic
    SelectedColumnCollection Class
    In This Topic

    When the user selects and highlights one or more columns of a C1TrueDBGrid control at run time, the C1DataColumn objects for those rows are stored in the SelectedColumnCollection object. In code, use the Item property and IndexOf method of the collection to determine which rows are selected. Also select and deselect records programmatically using its Add and RemoveAt methods.

    See Also