public void AddTabType(Type propertyTabType) { if (_ownerPropertyGrid is null) { throw new InvalidOperationException(SR.PropertyGridPropertyTabCollectionReadOnly); } _ownerPropertyGrid.AddTab(propertyTabType, PropertyTabScope.Global); }