13 instantiations of TabPage
PresentationUI (2)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (2)
40this._summaryTab = new System.Windows.Forms.TabPage(); 64this._infoTab = new System.Windows.Forms.TabPage();
System.Windows.Forms (8)
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (8)
99public void Add(string? text) => Add(new TabPage 104public void Add(string? key, string? text) => Add(new TabPage 110public void Add(string? key, string? text, int imageIndex) => Add(new TabPage 117public void Add(string? key, string? text, string imageKey) => Add(new TabPage 248public void Insert(int index, string? text) => Insert(index, new TabPage 253public void Insert(int index, string? key, string? text) => Insert(index, new TabPage 261TabPage page = new() 275TabPage page = new()
System.Windows.Forms.Design (3)
System\Drawing\Design\ColorEditor.ColorUI.cs (3)
162_paletteTabPage = new TabPage(SR.ColorEditorPaletteTab); 163_commonTabPage = new TabPage(SR.ColorEditorStandardTab); 164_systemTabPage = new TabPage(SR.ColorEditorSystemTab);
91 references to TabPage
PresentationUI (2)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (2)
780private System.Windows.Forms.TabPage _infoTab; 804private System.Windows.Forms.TabPage _summaryTab;
System.Windows.Forms (69)
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (2)
23if (value is not TabPage tabPage) 69if (value is not TabPage tabPage)
System\Windows\Forms\Controls\TabControl\TabControl.cs (27)
67private readonly List<TabPage> _tabPages = []; 482foreach (TabPage tabPage in TabPages) 726public TabPage? SelectedTab 920private int AddTabPage(TabPage tabPage) 931private int AddNativeTabPage(TabPage tabPage) 982TabPage t = GetTabPage(index); 999public void DeselectTab(TabPage tabPage) 1014TabPage tabPage = TabPages[tabPageName]!; 1038internal int FindTabPage(TabPage? tabPage) 1056internal TabPage GetTabPage(int index) 1074return Array.Empty<TabPage>(); 1095internal TabPage[] GetTabPages() 1097return (TabPage[])GetItems(); 1130if (item is not TabPage tabPage) 1146internal void Insert(int index, TabPage tabPage) 1161private void InsertItem(int index, TabPage tabPage) 1191private static void NotifyAboutFocusState(TabPage? selectedTab, bool focused) 1268foreach (TabPage page in TabPages) 1549TabPage[] tabPages = GetTabPages(); 1630TabPage[] pages = GetTabPages(); 1652private void SetTabPage(int index, TabPage value) 1677TabPage t = GetTabPage(index); 1687public void SelectTab(TabPage tabPage) 1702TabPage tabPage = TabPages[tabPageName]!; 1830TabPage[] tabPages = GetTabPages(); 1917internal void UpdateTab(TabPage tabPage) 2137private unsafe int SendMessage(uint msg, int wParam, TabPage tabPage)
System\Windows\Forms\Controls\TabControl\TabControl.TabControlAccessibleObject.cs (1)
97foreach (TabPage tabPage in owner.TabPages)
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (19)
26public virtual TabPage this[int index] 37if (value is not TabPage tabPage) 49public virtual TabPage? this[string? key] 81public void Add(TabPage value) 90if (value is not TabPage tabPage) 124public void AddRange(params TabPage[] pages) 128foreach (TabPage page in pages) 134public bool Contains(TabPage page) 143if (page is not TabPage tabPage) 159public int IndexOf(TabPage page) 176if (page is not TabPage tabPage) 221public void Insert(int index, TabPage tabPage) 240if (tabPage is not TabPage actualTabPage) 261TabPage page = new() 275TabPage page = new() 306TabPage[] tabPages = _owner.GetTabPages(); 309return Array.Empty<TabPage>().GetEnumerator(); 315public void Remove(TabPage value) 328if (value is TabPage tabPage)
System\Windows\Forms\Controls\TabControl\TabControlCancelEventArgs.cs (2)
15TabPage? tabPage, 29public TabPage? TabPage { get; }
System\Windows\Forms\Controls\TabControl\TabControlEventArgs.cs (2)
14public TabControlEventArgs(TabPage? tabPage, int tabPageIndex, TabControlAction action) 24public TabPage? TabPage { get; }
System\Windows\Forms\Controls\TabControl\TabPage.cs (4)
211TabPage? selectedTab = tabControl.SelectedTab; 503public static TabPage? GetTabPageOfComponent(object? comp) 511while (c is not null and not TabPage) 516return (TabPage?)c;
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (2)
14private readonly TabPage _owningTabPage; 16public TabAccessibleObject(TabPage owningTabPage)
System\Windows\Forms\Controls\TabControl\TabPage.TabPageAccessibleObject.cs (8)
14public TabPageAccessibleObject(TabPage owningTabPage) : base(owningTabPage) { } 16internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out TabPage? owner) ? 24this.TryGetOwnerAs(out TabPage? owningTabPage) ? owningTabPage.ParentInternal as TabControl : null; 28if (!this.IsOwnerHandleCreated(out TabPage? owningTabPage)) 44=> this.IsOwnerHandleCreated(out TabPage? owningTabPage) ? owningTabPage.Controls.Count : -1; 48if (!this.IsOwnerHandleCreated(out TabPage? _) || OwningTabControl is null) 67UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)(this.TryGetOwnerAs(out TabPage? owningTabPage) && owningTabPage.Focused), 84if (!this.TryGetOwnerAs(out TabPage? owningTabPage) || OwningTabControl is null || owningTabPage != OwningTabControl.SelectedTab)
System\Windows\Forms\Controls\TabControl\TabPage.TabPageControlCollection.cs (2)
16public TabPageControlCollection(TabPage owner) : base(owner) 29if (value is TabPage)
System.Windows.Forms.Design (20)
System\Drawing\Design\ColorEditor.ColorUI.ColorEditorTabControl.cs (1)
20TabPage? selectedTab = SelectedTab;
System\Drawing\Design\ColorEditor.ColorUI.cs (5)
21private TabPage _systemTabPage; 22private TabPage _commonTabPage; 23private TabPage _paletteTabPage; 323TabPage? selectedPage = _tabControl.SelectedTab; 366TabPage selectedTab = _paletteTabPage;
System\Windows\Forms\Design\TabControlDesigner.cs (12)
110public override bool CanParent(Control control) => (control is TabPage && !Control.Contains(control)); 176internal static TabPage GetTabPageOfComponent(TabControl parent, object comp) 186TabPage page = c as TabPage; 246TabPage page = (TabPage)host.CreateComponent(typeof(TabPage)); 317TabPage tp = tc.SelectedTab; 400TabPage page = GetTabPageOfComponent(tabControl, comp); 428TabPage page = GetTabPageOfComponent(tabControl, comp); 468TabPage selectedTab = ((TabControl)Component).SelectedTab; 494if (!(dragControls[i] is Control) || (dragControls[i] is Control && !(dragControls[i] is TabPage)))
System\Windows\Forms\Design\TabPageCollectionEditor.cs (2)
38TabPage tabPage = (TabPage)instance;