public void RemoveTabType(Type propertyTabType) { if (_ownerPropertyGrid is null) { throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); } _ownerPropertyGrid.RemoveTab(propertyTabType); }