Click or drag to resize
DropDownAddItem Method (String, Int32)
Add value to list at a specific index.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void AddItem(
	string value,
	int index
)

Parameters

value
Type: SystemString
Value to add.
index
Type: SystemInt32
Index to insert the new item into.
Remarks
Values can be duplicated, however, this will cause annoying behavior when trying to delete or select by value (will always pick the first found).
See Also