internal bool RemoveItem(object item) { if (ProtectedItems.Remove(item)) { if (!(item is StandardCollectionViewGroup)) { DecrementCount(); } return(true); } return(false); }
/// <summary> /// /// </summary> /// <param name="item"></param> protected void RemoveItem(object item) { ProtectedItems.Remove(item); ProtectedItemCount--; }