[]
Adds a new item to the end of view in the unbound mode.
void AddItem(string newItem)
| Type | Name | Description |
|---|---|---|
| string | newItem | A string containing the data for the new row. Items are separated by the value of the AddItemSeparator property. |
This method will add columns to the view so that all values from the newItem get into the view.
The code below adds 10 rows and 3 columns to the view.
multiCombo.AddItemSeparator = ",";
for (int i = 0; i < 10; i++)
multiCombo.AddItem($"1val{i},2val{i},3val{i}");