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