public void CollapseEntity(object categoryID) { ExpandedEntitiesCollection.Remove(categoryID); Update(categoryID); }
public bool CanExpandEntity(object categoryID) { return(EntityExists(categoryID) && !ExpandedEntitiesCollection.Contains(categoryID)); }
public void ExpandEntity(object categoryID) { ExpandedEntitiesCollection.Add(categoryID); Update(categoryID); }