private void RemoveItem(int index)
        {
            if (index == EnsureIndexBounds(index))
            {
                bool selected = SelectedItemIndex == index;
                if (selected)
                {
                    SelectedItemIndex = -1;
                }

                ListBoxAnimation.AnimateModal(index, GetItemHeight(index), 0, Animation.DefaultDuration, changeItemHeightScene);
                if (selected)
                {
                    SelectedItemIndex = index;
                }

                DeleteItem(index);
            }
        }
 private void InsertItem(int index, object item)
 {
     ListBoxAnimation.AnimateModal(index, 0, GetItemHeight(index), Animation.DefaultDuration, changeItemHeightScene);
 }