public void Clear(PropertyTabScope tabScope) { if (_ownerPropertyGrid is null) { throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); } _ownerPropertyGrid.ClearTabs(tabScope); }