5 types derived from PropertyTab
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
9public class PropertiesTab : PropertyTab
System\Windows\Forms\Design\EventsTab.cs (1)
13public class EventsTab : PropertyTab
System.Windows.Forms.Tests (3)
System\Windows\Forms\Design\PropertyTabTests.cs (1)
188private class SubPropertyTab : PropertyTab
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (1)
166public class TestPropertyTab : PropertyTab, IDisposable
System\Windows\Forms\PropertyGridTests.cs (1)
2376private class TestPropertyTab : PropertyTab
43 references to PropertyTab
System.Windows.Forms (35)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (12)
1127public PropertyTab SelectedTab 1460PropertyTab? tab = null; 1509var current = _tabs[i].Tab; 1635protected virtual PropertyTab? CreatePropertyTab(Type tabType) => null; 1637private PropertyTab? CreateTab(Type tabType, IDesignerHost? host) 1639PropertyTab? tab; 1674tab = (PropertyTab)constructor.Invoke([parameter]); 1679tab = (PropertyTab)Activator.CreateInstance(tabType)!; 1684Debug.Fail($"Failed to create {nameof(PropertyTab)}. {exception.Message}"); 3398PropertyTab selectedTab = _selectedTab.Tab; 3467PropertyTab? tab = null; 3729PropertyTab? oldTab = null;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.PropertyTabCollection.cs (2)
44public PropertyTab this[int index] 116return Array.Empty<PropertyTab>().GetEnumerator();
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.TabInfo.cs (1)
11private record TabInfo(PropertyTab Tab, PropertyTabScope Scope, ToolStripButton Button)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (4)
208/// The <see cref="PropertyTab"/> that the <see cref="GridEntry"/> belongs to. 215public virtual PropertyTab? OwnerTab => _parent?.OwnerTab; 882PropertyTab tab, 1270PropertyTab? ownerTab = OwnerTab;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
23PropertyTab tab,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.PropertyMerger.cs (2)
18PropertyTab? tab) 97PropertyTab tab,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (3)
20private PropertyTab _ownerTab; 31PropertyTab ownerTab, 106public override PropertyTab OwnerTab => _ownerTab;
System\Windows\Forms\Controls\PropertyGrid\PropertyTabChangedEventArgs.cs (4)
10public PropertyTabChangedEventArgs(PropertyTab? oldTab, PropertyTab? newTab) 16public PropertyTab? OldTab { get; } 18public PropertyTab? NewTab { get; }
System\Windows\Forms\Design\PropertyTab.cs (6)
14/// The <see cref="PropertyTab"/> class provides the base class behavior for a property tab. Property tabs are 19/// User code will usually not create an instance of a <see cref="PropertyTab"/> directly. Instead, a 21/// for a component can be associated with the properties or types that the <see cref="PropertyTab"/> should be 25/// The <see cref="PropertyGrid"/> will instantiate a <see cref="PropertyTab"/> of the type specified by a 36/// Gets the bitmap that is displayed for the <see cref="PropertyTab"/>. 81/// Gets a value indicating whether this <see cref="PropertyTab"/> can display properties for the
System.Windows.Forms.Tests (8)
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (6)
47PropertyTab tab = propertyTabCollection[index]; 102_propertyTabCollection.Cast<PropertyTab>().Should().NotContain(tab => tab is TestPropertyTab); 120PropertyTab[] array = new PropertyTab[_propertyTabCollection.Count]; 124array.Should().ContainItemsAssignableTo<PropertyTab>(); 134foreach (PropertyTab tab in _propertyTabCollection)
System\Windows\Forms\PropertyTabChangedEventArgsTests.cs (2)
22public void Ctor_PropertyTab_PropertyTab(PropertyTab oldTab, PropertyTab newTab)