GeonBit.UI Documentation
SelectListAddItem 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)
![](SectionExpanded.png)
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.
![](SectionExpanded.png)
Values can be duplicated, however, this will cause annoying behavior when trying to delete or select by value (will always pick the first found).
![](SectionExpanded.png)