56 references to PropertyTabScope
System (18)
compmod\system\componentmodel\design\PropertyTabAttribute.cs (18)
23private PropertyTabScope[] tabScopes; 34tabScopes = new PropertyTabScope[0]; 44public PropertyTabAttribute(Type tabClass) : this(tabClass, PropertyTabScope.Component) { 53public PropertyTabAttribute(string tabClassName) : this(tabClassName, PropertyTabScope.Component) { 62public PropertyTabAttribute(Type tabClass, PropertyTabScope tabScope) { 65if (tabScope < PropertyTabScope.Document) { 68this.tabScopes = new PropertyTabScope[]{tabScope}; 79public PropertyTabAttribute(string tabClassName, PropertyTabScope tabScope) { 81if (tabScope < PropertyTabScope.Document) { 84this.tabScopes = new PropertyTabScope[]{tabScope}; 144public PropertyTabScope[] TabScopes { 191protected void InitializeArrays(string[] tabClassNames, PropertyTabScope[] tabScopes) { 200protected void InitializeArrays(Type[] tabClasses, PropertyTabScope[] tabScopes) { 205private void InitializeArrays(string[] tabClassNames, Type[] tabClasses, PropertyTabScope[] tabScopes) { 226if (tabScopes[i] < PropertyTabScope.Document) { 230this.tabScopes = (PropertyTabScope[])tabScopes.Clone(); 233this.tabScopes = new PropertyTabScope[tabClasses.Length]; 236this.tabScopes[i] = PropertyTabScope.Component;
System.Windows.Forms (38)
winforms\Managed\System\WinForms\PropertyGrid.cs (38)
57private PropertyTabScope[] viewTabScopes = new PropertyTabScope[0]; 247AddRefTab(DefaultTabType, null, PropertyTabScope.Static, true); 319RemoveTabs(PropertyTabScope.Document, true); 347RefreshTabs(PropertyTabScope.Document); 1273RefreshTabs(PropertyTabScope.Component); 1834internal void AddTab(Type tabType, PropertyTabScope scope) { 1839internal void AddRefTab(Type tabType, Object component, PropertyTabScope type, bool setupToolbar) { 1913PropertyTabScope[] newTabScopes = new PropertyTabScope[viewTabScopes.Length + 1]; 1969internal void ClearTabs(PropertyTabScope tabScope) { 1970if (tabScope < PropertyTabScope.Document) { 2524private static Type[] GetCommonTabs(Object[] objs, PropertyTabScope tabScope) { 2541PropertyTabScope item = tabAttr.TabScopes[i]; 2820if (attribute.TabScopes[i] == PropertyTabScope.Document) { 2821AddRefTab(attribute.TabClasses[i], e.Component, PropertyTabScope.Document, true); 2856if (attribute.TabScopes[i] == PropertyTabScope.Document) { 3930public void RefreshTabs(PropertyTabScope tabScope) { 3932if (tabScope < PropertyTabScope.Document) { 3939if (tabScope <= PropertyTabScope.Component) { 3942Type[] tabTypes = GetCommonTabs(currentObjects, PropertyTabScope.Component); 3946AddRefTab(tabTypes[i], currentObjects[j], PropertyTabScope.Component, false); 3953if (tabScope <= PropertyTabScope.Document && designerHost != null) { 3963if (attribute.TabScopes[j] == PropertyTabScope.Document) { 3964AddRefTab(attribute.TabClasses[j], comp, PropertyTabScope.Document, false); 4016if (killTab && viewTabScopes[tabIndex] > PropertyTabScope.Global) { 4030internal void RemoveTabs(PropertyTabScope classification, bool setupToolbar) { 4031if (classification == PropertyTabScope.Static) { 4058PropertyTabScope[] newTabScopes = new PropertyTabScope[viewTabScopes.Length - 1]; 4089if (viewTabScopes[tabIndex] == PropertyTabScope.Static) { 4114PropertyTabScope[] newTabScopes = new PropertyTabScope[viewTabScopes.Length - 1]; 4149PropertyTabScope[] newTabScopes = new PropertyTabScope[viewTabScopes.Length - 1]; 5144owner.AddTab(propertyTabType, PropertyTabScope.Global); 5151public void AddTabType(Type propertyTabType, PropertyTabScope tabScope) { 5163public void Clear(PropertyTabScope tabScope) {