// Called when an item is deleted from the ItemsSource as opposed to just being unselected
        internal void Delete(int slot, object item)
        {
            if (_oldSelectedSlotsTable.Contains(slot))
            {
                this.OwningGrid.SelectionHasChanged = true;
            }

            DeleteSlot(slot);
            _selectedItemsCache.Remove(item);
        }
 internal bool ContainsSlot(int slot)
 {
     return(_selectedSlotsTable.Contains(slot));
 }