System.ComponentModel.PropertyTabAttribute.PropertyTabAttribute C# (CSharp) Method

PropertyTabAttribute() public method

Basic constructor that creates a property tab attribute that will create a tab of the specified type.

public PropertyTabAttribute ( string tabClassName, PropertyTabScope tabScope ) : System
tabClassName string
tabScope PropertyTabScope
return System
        public PropertyTabAttribute(string tabClassName, PropertyTabScope tabScope)
        {
            _tabClassNames = new string[] { tabClassName };
            if (tabScope < PropertyTabScope.Document)
            {
                throw new ArgumentException(SR.Format(SR.PropertyTabAttributeBadPropertyTabScope), nameof(tabScope));
            }
            _tabScopes = new PropertyTabScope[] { tabScope };
        }

Same methods

PropertyTabAttribute::PropertyTabAttribute ( ) : System
PropertyTabAttribute::PropertyTabAttribute ( Type tabClass ) : System
PropertyTabAttribute::PropertyTabAttribute ( Type tabClass, PropertyTabScope tabScope ) : System
PropertyTabAttribute::PropertyTabAttribute ( string tabClassName ) : System