ComponentOne List for WinForms
In This Topic
    Using AddItem Mode
    In This Topic

    In AddItem mode, you can modify a list manually. The application supplies and maintains the data. Tutorial 3 - AddItem Mode shows how to use the AddItem, RemoveItem and ClearItems methods, and Tutorial 21 - Design-Time Support for C1Combo's AddItem Mode shows you how to use the C1List Designer to use AddItem mode. This section will expand on the tutorials and show you how to use the InsertItem, AddItemTitles, and SetAddItemData methods, as well as the AddItemSeparator and AddItemCols properties.

    Begin by setting the DataMode to AddItem in the Properties window.

    The following picture uses the AddItem mode methods and properties that will be discussed in the following sections. The AddItem, RemoveItem, and ClearItems methods are discussed in Tutorial 3 - AddItem Mode, as well as in List for WinForms' AddItem Mode.

    See Also