public void RemoveFromList(IDockContent content) { if (IsInActiveList(content)) { RemoveFromActiveList(content); } if (ListContent.Contains(content)) { ListContent.Remove(content); } }