ComponentOne True DBGrid for WinForms
C1TrueDBDropDown Class
Object Model > C1TrueDBDropDown Class

The C1TrueDBDropDown control, which is a subset of the C1TrueDBGrid control, is used as a multicolumn drop-down list box for a grid column. The C1TrueDBDropDown control cannot be used as a standalone control.

In the designer, place a C1TrueDBDropDown control on a form just as you would a C1TrueDBGrid control. However, the drop-down control will be invisible at run time unless it is attached to a C1DataColumn object of a C1TrueDBGrid control.

To use the drop-down control, set the DropDown property of a grid column to the name of a C1TrueDBDropDown control at either in the designer or in code. At run time, when the user clicks the in-cell button for that column, the C1TrueDBDropDown control will appear below the grid's current cell. If the user selects an item from the drop-down control, the grid's current cell is updated. The C1TrueDBDropDown control also supports incremental search.

See Also