[]
        
(Showing Draft Content)

C1.Win.Input.MultiColumnCombo.ISupportUnboundMode.AddItem

AddItem Method

AddItem(string)

Adds a new item to the end of view in the unbound mode.

Declaration
void AddItem(string newItem)
Parameters
Type Name Description
string newItem

A string containing the data for the new row. Items are separated by the value of the AddItemSeparator property.

Remarks

This method will add columns to the view so that all values from the newItem get into the view.

Examples

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}");