Tinkr2/4.2/AphelionCore/AphelionCommonControls/Controls/Combobox.cs
/// <summary>
/// Removes a single item from the combo box
/// </summary>
/// <param name="item">Item to remove</param>
Removes a single item from the combo box
Removes a single item from the combo box
public void RemoveItem(ListboxItem item)
      {
         if (_items == null) 
         {
            return;
         }
         for (int i = 0; i < _items.Length; i++)
         {
            if (_items[i] == item)
            {
               RemoveItemAt(i);
               return;
            }
         }
      }
public void RemoveItem ( ListboxItem item ) { if ( _items == null ) { return ; } for ( int i = 0 ; i < _items . Length ; i ++ ) { if ( _items [ i ] == item ) { RemoveItemAt ( i ) ; return ; } } }
Removes a single item from the combo box
Removes a single item from the combo box
// || item == _removing)
item
ListboxItem
Item to remove
Item to remove