6 types derived from TabPage
System.Windows.Forms.Tests (6)
System\Windows\Forms\TabControl.ControlCollectionTests.cs (1)
1564
private class NullTextTabPage :
TabPage
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (1)
5065
private class NullTextTabPage :
TabPage
System\Windows\Forms\TabControlTests.cs (2)
5706
private class SubTabPage :
TabPage
5710
private class NullTextTabPage :
TabPage
System\Windows\Forms\TabPageTests.cs (2)
5206
private class NullTextTabPage :
TabPage
5215
private class SubTabPage :
TabPage
570 instantiations of TabPage
Accessibility_Core_App (12)
ContainerControls.Designer.cs (10)
60
this.tabPage9 = new System.Windows.Forms.
TabPage
();
62
this.tabPage10 = new System.Windows.Forms.
TabPage
();
64
this.tabPage11 = new System.Windows.Forms.
TabPage
();
66
this.tabPage12 = new System.Windows.Forms.
TabPage
();
75
this.tabPage1 = new System.Windows.Forms.
TabPage
();
76
this.tabPage2 = new System.Windows.Forms.
TabPage
();
81
this.tabPage3 = new System.Windows.Forms.
TabPage
();
83
this.tabPage4 = new System.Windows.Forms.
TabPage
();
91
this.tabPage5 = new System.Windows.Forms.
TabPage
();
92
this.tabPage6 = new System.Windows.Forms.
TabPage
();
ContainerControls2.Designer.cs (2)
59
this.tabPage7 = new System.Windows.Forms.
TabPage
();
60
this.tabPage8 = new System.Windows.Forms.
TabPage
();
DesignSurface (6)
MainForm.Designer.cs (6)
36
this.tabPage1 = new System.Windows.Forms.
TabPage
();
37
this.tabPage2 = new System.Windows.Forms.
TabPage
();
38
this.tabPage3 = new System.Windows.Forms.
TabPage
();
39
this.tabPage4 = new System.Windows.Forms.
TabPage
();
40
this.tabPage5 = new System.Windows.Forms.
TabPage
();
41
this.tabPage6 = new System.Windows.Forms.
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);
System.Windows.Forms.Design.Tests (4)
System\Windows\Forms\Design\TabControlDesignerTests.cs (2)
29
TabPage tabPage =
new
();
45
using TabPage tabPage =
new
();
System\Windows\Forms\Design\TabPageDesignerTests.cs (2)
15
TabPage tabPage =
new
();
53
using TabPage tabPage =
new
();
System.Windows.Forms.Tests (526)
System\Windows\Forms\AccessibleObjects\TabControl.TabControlAccessibleObjectTests.cs (1)
372
pages.Add(new
TabPage
());
System\Windows\Forms\AccessibleObjects\TabPage.TabAccessibleObjectTests.cs (18)
19
pages.Add(new
TabPage
());
36
using TabPage tabPage =
new
();
59
pages.Add(new
TabPage
() { Text = text, Name = "Test" });
73
pages.Add(new
TabPage
());
87
pages.Add(new
TabPage
());
104
pages.Add(new
TabPage
());
145
pages.Add(new
TabPage
());
159
pages.Add(new
TabPage
());
199
pages.Add(new
TabPage
());
262
pages.Add(new
TabPage
());
276
pages.Add(new
TabPage
());
290
pages.Add(new
TabPage
());
304
pages.Add(new
TabPage
());
318
pages.Add(new
TabPage
());
332
pages.Add(new
TabPage
());
1082
pages.Add(new
TabPage
() { Enabled = tabPageEnabled });
1097
pages.Add(new
TabPage
());
1112
pages.Add(new
TabPage
());
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (26)
16
using TabPage tabPage =
new
();
26
using TabPage tabPage =
new
();
41
using TabPage tabPage =
new
();
71
using TabPage tabPage =
new
();
86
using TabPage tabPage =
new
();
106
using TabPage tabPage =
new
()
125
using TabPage tabPage =
new
();
139
using TabPage tabPage =
new
();
157
using TabPage tabPage =
new
();
173
using TabPage tabPage =
new
() { Enabled = enabled };
189
using TabPage tabPage =
new
();
207
pages.Add(new
TabPage
());
226
pages.Add(new
TabPage
());
342
using TabPage tabPage =
new
();
353
using TabPage tabPage =
new
();
364
using TabPage tabPage =
new
();
375
using TabPage tabPage =
new
();
386
using TabPage tabPage =
new
();
397
using TabPage tabPage =
new
();
414
pages.Add(new
TabPage
() { Enabled = tabPageEnabled });
428
using TabPage tabPage =
new
();
448
using TabPage tabPage =
new
() { Text = text };
468
using TabPage tabPage =
new
() { Text = text };
486
using TabPage tabPage =
new
()
516
using TabPage tabPage =
new
();
529
using TabPage tabPage =
new
();
System\Windows\Forms\ContainerControlTests.cs (2)
801
using TabPage grandchild3 =
new
();
1027
using TabPage grandchild3 =
new
();
System\Windows\Forms\ControlTests.Handlers.cs (2)
3893
TabPage tabPage =
new
()
3934
TabPage tabPage =
new
()
System\Windows\Forms\ScrollableControlTests.cs (2)
1572
Func<TabPage> tabPageFactory = () => new
TabPage
1667
static TabPage CreateTabPage() =>
new
()
System\Windows\Forms\TabControl.ControlCollectionTests.cs (37)
45
using TabPage value1 =
new
();
46
using TabPage value2 =
new
();
168
using TabPage value1 =
new
();
169
using TabPage value2 =
new
();
328
using TabPage value1 =
new
();
329
using TabPage value2 =
new
();
469
using TabPage value1 =
new
();
470
using TabPage value2 =
new
();
660
using TabPage value =
new
();
691
using TabPage value =
new
()
717
using TabPage value =
new
();
738
TabPage value =
new
();
757
using TabPage page1 =
new
();
758
using TabPage page2 =
new
()
825
using TabPage page1 =
new
();
826
using TabPage page2 =
new
()
894
using TabPage value1 =
new
();
895
using TabPage value2 =
new
();
992
using TabPage value1 =
new
();
993
using TabPage value2 =
new
();
1119
using TabPage value1 =
new
();
1120
using TabPage value2 =
new
();
1231
using TabPage value1 =
new
();
1232
using TabPage value2 =
new
();
1353
using TabPage value1 =
new
();
1354
using TabPage value2 =
new
();
1355
using TabPage value3 =
new
();
1356
using TabPage value4 =
new
();
1390
using TabPage value1 =
new
();
1391
using TabPage value2 =
new
();
1392
using TabPage value3 =
new
();
1393
using TabPage value4 =
new
();
1433
TabPage value =
new
();
1466
using TabPage page1 =
new
();
1467
using TabPage page2 =
new
()
1524
using TabPage page1 =
new
();
1525
using TabPage page2 =
new
()
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (205)
30
using TabPage value1 =
new
();
31
using TabPage value2 =
new
();
156
using TabPage value1 =
new
();
157
using TabPage value2 =
new
();
319
using TabPage value1 =
new
();
320
using TabPage value2 =
new
();
463
using TabPage value1 =
new
();
464
using TabPage value2 =
new
();
657
using TabPage value =
new
();
690
using TabPage value =
new
()
718
using TabPage value =
new
();
741
TabPage value =
new
();
761
using TabPage page1 =
new
();
762
using TabPage page2 =
new
()
831
using TabPage page1 =
new
();
832
using TabPage page2 =
new
()
977
using TabPage value1 =
new
();
978
using TabPage value2 =
new
();
1101
using TabPage child1 =
new
();
1102
using TabPage child2 =
new
();
1103
using TabPage child3 =
new
();
1201
using TabPage child1 =
new
();
1202
using TabPage child2 =
new
();
1217
using TabPage child =
new
();
1229
using TabPage child =
new
();
1268
using TabPage child1 =
new
();
1269
using TabPage child2 =
new
();
1284
using TabPage child1 =
new
();
1285
using TabPage child2 =
new
();
1336
using TabPage child1 =
new
();
1337
using TabPage child2 =
new
();
1338
using TabPage child3 =
new
();
1449
using TabPage child1 =
new
();
1450
using TabPage child2 =
new
();
1451
using TabPage child3 =
new
();
1526
using TabPage child1 =
new
();
1527
using TabPage child2 =
new
();
1528
using TabPage child3 =
new
();
1545
using TabPage child1 =
new
();
1546
using TabPage child2 =
new
();
1555
Assert.False(collection.Contains(new
TabPage
()));
1563
Assert.False(collection.Contains(new
TabPage
()));
1578
using TabPage child1 =
new
();
1579
using TabPage child2 =
new
();
1587
Assert.False(iList.Contains(new
TabPage
()));
1599
Assert.False(iList.Contains(new
TabPage
()));
1618
using TabPage child1 =
new
()
1622
using TabPage child2 =
new
()
1626
using TabPage child3 =
new
()
1683
using TabPage child1 =
new
();
1684
using TabPage child2 =
new
();
1685
using TabPage child3 =
new
();
1722
using TabPage child =
new
();
1745
using TabPage child1 =
new
();
1746
using TabPage child2 =
new
();
1747
using TabPage child3 =
new
();
1781
using TabPage child1 =
new
();
1782
using TabPage child2 =
new
();
1783
using TabPage child3 =
new
();
1850
using TabPage child1 =
new
();
1851
using TabPage child2 =
new
();
1860
Assert.Equal(-1, collection.IndexOf(new
TabPage
()));
1868
Assert.Equal(-1, collection.IndexOf(new
TabPage
()));
1883
using TabPage child1 =
new
();
1884
using TabPage child2 =
new
();
1892
Assert.Equal(-1, iList.IndexOf(new
TabPage
()));
1904
Assert.Equal(-1, iList.IndexOf(new
TabPage
()));
1923
using TabPage child1 =
new
()
1927
using TabPage child2 =
new
()
1931
using TabPage child3 =
new
()
1972
using TabPage value1 =
new
();
1973
using TabPage value2 =
new
();
2093
using TabPage value1 =
new
();
2094
using TabPage value2 =
new
();
2262
using TabPage value1 =
new
();
2263
using TabPage value2 =
new
();
2412
using TabPage value1 =
new
();
2413
using TabPage value2 =
new
();
2612
using TabPage value =
new
();
2643
using TabPage value =
new
()
2669
using TabPage value =
new
();
2691
TabPage value =
new
();
2789
using TabPage page1 =
new
();
2790
using TabPage page2 =
new
()
2857
using TabPage page1 =
new
();
2858
using TabPage page2 =
new
()
2915
using TabPage value =
new
();
2931
using TabPage value =
new
();
2947
using TabPage value =
new
();
2960
using TabPage value =
new
();
2971
using TabPage child =
new
();
2976
using TabPage value =
new
();
2992
using TabPage child =
new
();
2999
using TabPage value =
new
();
3017
using TabPage value1 =
new
();
3018
using TabPage value2 =
new
();
3152
using TabPage value =
new
();
3165
using TabPage value =
new
();
3178
using TabPage value =
new
();
3192
using TabPage value =
new
();
3203
using TabPage child =
new
();
3207
using TabPage value =
new
();
3219
using TabPage child =
new
();
3225
using TabPage value =
new
();
3237
using TabPage child1 =
new
()
3241
using TabPage child2 =
new
()
3245
using TabPage child3 =
new
()
3273
using TabPage child1 =
new
()
3277
using TabPage child2 =
new
()
3281
using TabPage child3 =
new
()
3317
using TabPage page1 =
new
();
3318
using TabPage page2 =
new
();
3346
using TabPage page =
new
();
3361
using TabPage page1 =
new
();
3362
using TabPage page2 =
new
();
3363
using TabPage page3 =
new
();
3371
using TabPage newPage =
new
();
3406
using TabPage page1 =
new
();
3407
using TabPage page2 =
new
();
3408
using TabPage page3 =
new
();
3416
using TabPage newPage =
new
();
3438
using TabPage page1 =
new
();
3439
using TabPage page2 =
new
();
3440
using TabPage page3 =
new
();
3456
using TabPage newPage =
new
();
3494
using TabPage page1 =
new
();
3495
using TabPage page2 =
new
();
3496
using TabPage page3 =
new
();
3512
using TabPage newPage =
new
();
3538
using TabPage page1 =
new
();
3539
using TabPage page2 =
new
();
3549
using TabPage value =
new
()
3610
using TabPage page1 =
new
();
3611
using TabPage page2 =
new
();
3621
using TabPage value =
new
()
3665
using TabPage page =
new
();
3678
using TabPage page =
new
();
3693
using TabPage page =
new
();
3705
using TabPage page1 =
new
();
3706
using TabPage page2 =
new
();
3718
using TabPage page1 =
new
();
3719
using TabPage page2 =
new
();
3747
using TabPage page =
new
();
3761
using TabPage page1 =
new
();
3762
using TabPage page2 =
new
();
3763
using TabPage page3 =
new
();
3770
using TabPage newPage =
new
();
3805
using TabPage page1 =
new
();
3806
using TabPage page2 =
new
();
3807
using TabPage page3 =
new
();
3814
using TabPage newPage =
new
();
3836
using TabPage page1 =
new
();
3837
using TabPage page2 =
new
();
3838
using TabPage page3 =
new
();
3853
using TabPage newPage =
new
();
3891
using TabPage page1 =
new
();
3892
using TabPage page2 =
new
();
3893
using TabPage page3 =
new
();
3908
using TabPage newPage =
new
();
3938
using TabPage page =
new
();
3952
using TabPage page =
new
();
3965
using TabPage page1 =
new
();
3966
using TabPage page2 =
new
();
3980
using TabPage value1 =
new
();
3981
using TabPage value2 =
new
();
4081
using TabPage value1 =
new
();
4082
using TabPage value2 =
new
();
4211
using TabPage value1 =
new
();
4212
using TabPage value2 =
new
();
4328
using TabPage value1 =
new
();
4329
using TabPage value2 =
new
();
4455
using TabPage value1 =
new
();
4456
using TabPage value2 =
new
();
4457
using TabPage value3 =
new
();
4458
using TabPage value4 =
new
();
4494
using TabPage value1 =
new
();
4495
using TabPage value2 =
new
();
4496
using TabPage value3 =
new
();
4497
using TabPage value4 =
new
();
4539
TabPage value =
new
();
4561
using TabPage value =
new
();
4569
using TabPage page1 =
new
();
4570
using TabPage page2 =
new
();
4576
using TabPage value =
new
();
4584
using TabPage page1 =
new
();
4585
using TabPage page2 =
new
()
4644
using TabPage page1 =
new
();
4645
using TabPage page2 =
new
()
4701
using TabPage value1 =
new
();
4702
using TabPage value2 =
new
();
4812
using TabPage child1 =
new
();
4813
using TabPage child2 =
new
();
4881
using TabPage child =
new
();
4895
using TabPage child1 =
new
()
4899
using TabPage child2 =
new
()
4903
using TabPage child3 =
new
()
4971
using TabPage child1 =
new
()
4975
using TabPage child2 =
new
()
4979
using TabPage child3 =
new
()
5003
using TabPage page1 =
new
();
5004
using TabPage page2 =
new
();
5005
using TabPage page3 =
new
();
5030
using TabPage page1 =
new
();
5031
using TabPage page2 =
new
();
5032
using TabPage page3 =
new
();
System\Windows\Forms\TabControlCancelEventArgsTests.cs (3)
11
yield return new object[] { new
TabPage
(), -1, true, TabControlAction.Selecting };
12
yield return new object[] { new
TabPage
(), 0, false, TabControlAction.Selected };
13
yield return new object[] { new
TabPage
(), 1, true, TabControlAction.Selected };
System\Windows\Forms\TabControlEventArgsTests.cs (3)
11
yield return new object[] { new
TabPage
(), -1, TabControlAction.Selecting };
12
yield return new object[] { new
TabPage
(), 0, TabControlAction.Selected };
13
yield return new object[] { new
TabPage
(), 1, TabControlAction.Selected };
System\Windows\Forms\TabControlTests.cs (106)
1045
using TabPage page1 =
new
();
1046
using TabPage page2 =
new
()
1259
using TabPage page1 =
new
();
1260
using TabPage page2 =
new
();
1455
using TabPage page1 =
new
();
1456
using TabPage page2 =
new
();
2016
using TabPage page1 =
new
();
2017
using TabPage page2 =
new
();
2051
using TabPage page1 =
new
();
2052
using TabPage page2 =
new
();
2118
using TabPage page1 =
new
();
2119
using TabPage page2 =
new
();
2522
using TabPage page1 =
new
();
2523
using TabPage page2 =
new
();
2551
yield return new object[] { new
TabPage
() };
2577
using TabPage page1 =
new
();
2578
using TabPage page2 =
new
();
2579
using TabPage page3 =
new
();
2669
using TabPage page1 =
new
();
2670
using TabPage page2 =
new
();
2671
using TabPage page3 =
new
();
3015
using TabPage page1 =
new
();
3016
using TabPage page2 =
new
();
3066
using TabPage page1 =
new
();
3067
using TabPage page2 =
new
();
3174
using TabPage page =
new
();
3182
using TabPage page1 =
new
();
3183
using TabPage page2 =
new
();
3184
using TabPage page3 =
new
();
3194
using TabPage page1 =
new
()
3198
using TabPage page2 =
new
()
3251
using TabPage page1 =
new
()
3255
using TabPage page2 =
new
()
3383
using TabPage page1 =
new
();
3384
using TabPage page2 =
new
();
3394
using TabPage page1 =
new
();
3395
using TabPage page2 =
new
();
3445
using TabPage page1 =
new
();
3446
using TabPage page2 =
new
();
3566
using TabPage page1 =
new
();
3567
using TabPage page2 =
new
();
3618
using TabPage page1 =
new
();
3619
using TabPage page2 =
new
();
3643
using TabPage page1 =
new
();
3644
using TabPage page2 =
new
();
3654
using TabPage page1 =
new
();
3655
using TabPage page2 =
new
();
3679
using TabPage page1 =
new
();
3680
using TabPage page2 =
new
();
3724
using TabPage page =
new
();
3753
using TabPage page =
new
();
3792
using TabPage page1 =
new
();
3813
using TabPage page1 =
new
();
3842
using TabPage page1 =
new
();
3870
using TabPage page1 =
new
();
3910
using TabPage page1 =
new
();
3921
using TabPage page1 =
new
();
3969
using TabPage item =
new
()
4142
using TabPage page1 =
new
();
4143
using TabPage page2 =
new
();
4278
using TabPage page1 =
new
();
4279
using TabPage page2 =
new
();
4453
using TabPage page1 =
new
();
4454
using TabPage page2 =
new
();
4616
using TabPage page1 =
new
();
4617
using TabPage page2 =
new
();
4691
using TabPage page1 =
new
();
4692
using TabPage page2 =
new
();
4772
using TabPage page1 =
new
();
4773
using TabPage page2 =
new
();
4881
using TabPage page1 =
new
();
4882
using TabPage page2 =
new
();
4919
using TabPage page1 =
new
();
4920
using TabPage page2 =
new
()
5002
using TabPage child1 =
new
();
5003
using TabPage child2 =
new
();
5004
using TabPage child3 =
new
();
5107
using TabPage child1 =
new
();
5108
using TabPage child2 =
new
();
5109
using TabPage child3 =
new
();
5179
using TabPage child1 =
new
();
5180
using TabPage child2 =
new
();
5181
using TabPage child3 =
new
();
5195
using TabPage page1 =
new
();
5196
using TabPage page2 =
new
();
5235
using TabPage page1 =
new
();
5236
using TabPage page2 =
new
();
5330
using TabPage page =
new
();
5338
using TabPage page1 =
new
();
5339
using TabPage page2 =
new
();
5340
using TabPage page3 =
new
();
5350
using TabPage page1 =
new
()
5354
using TabPage page2 =
new
()
5396
using TabPage page1 =
new
()
5400
using TabPage page2 =
new
()
5508
using TabPage page1 =
new
();
5509
using TabPage page2 =
new
();
5510
using TabPage page3 =
new
();
5520
using TabPage page1 =
new
();
5521
using TabPage page2 =
new
();
5560
using TabPage page1 =
new
();
5561
using TabPage page2 =
new
();
5661
using TabPage page1 =
new
();
5662
using TabPage page2 =
new
();
5679
using TabPage page1 =
new
("text1");
5680
using TabPage page2 =
new
("text2");
System\Windows\Forms\TabPageTests.cs (110)
259
using TabPage control =
new
()
278
using TabPage control =
new
()
299
using TabPage control =
new
()
320
using TabPage control =
new
();
345
using TabPage control =
new
()
530
using TabPage control =
new
()
548
using TabPage control =
new
()
575
using TabPage control =
new
()
591
using TabPage control =
new
()
634
using TabPage control =
new
()
647
using TabPage control =
new
()
664
using TabPage control =
new
()
706
using TabPage control =
new
()
748
using TabPage control =
new
()
791
using TabPage control =
new
()
834
using TabPage control =
new
();
862
using TabPage control =
new
();
898
using TabPage control =
new
()
915
using TabPage control =
new
()
934
using TabPage control =
new
()
952
using TabPage control =
new
()
991
using TabPage control =
new
();
999
using TabPage control =
new
()
1062
using TabPage control =
new
()
1103
using TabPage control =
new
()
1127
using TabPage control =
new
()
1167
using TabPage control =
new
()
1193
using TabPage control =
new
()
1217
using TabPage control =
new
();
1253
using TabPage control =
new
()
1319
using TabPage control =
new
()
1372
using TabPage page1 =
new
();
1373
using TabPage page2 =
new
()
1439
using TabPage page1 =
new
();
1440
using TabPage page2 =
new
()
1489
using TabPage control =
new
();
1497
using TabPage control =
new
()
1519
using TabPage control =
new
()
1556
using TabPage control =
new
()
1579
using TabPage control =
new
()
1599
using TabPage control =
new
();
1633
using TabPage control =
new
()
1697
using TabPage control =
new
()
1747
using TabPage page1 =
new
();
1748
using TabPage page2 =
new
()
1811
using TabPage page1 =
new
();
1812
using TabPage page2 =
new
()
1871
using TabPage control =
new
();
2310
using TabPage control =
new
();
2365
using TabPage control =
new
();
2393
using TabPage control =
new
();
2421
using TabPage control =
new
()
2446
using TabPage control =
new
()
2483
using TabPage control =
new
()
2501
using TabPage control =
new
()
2522
using TabPage control =
new
()
2541
using TabPage control =
new
();
2570
using TabPage control =
new
();
2605
using TabPage control =
new
();
2614
using TabPage control =
new
();
2625
using TabPage control =
new
()
2641
using TabPage control =
new
()
2679
using TabPage control =
new
();
2687
using TabPage control =
new
()
2709
using TabPage control =
new
();
2745
using TabPage control =
new
()
2784
using TabPage control =
new
()
2802
using TabPage control =
new
()
2838
using TabPage control =
new
()
2860
using TabPage control =
new
();
2890
using TabPage control =
new
()
2952
using TabPage control =
new
()
3004
using TabPage page1 =
new
();
3005
using TabPage page2 =
new
()
3071
using TabPage page1 =
new
();
3072
using TabPage page2 =
new
()
3120
using TabPage control =
new
();
3156
using TabPage control =
new
()
3174
using TabPage control =
new
()
3210
using TabPage control =
new
()
3232
using TabPage control =
new
();
3264
using TabPage control =
new
()
3328
using TabPage control =
new
()
3376
using TabPage page1 =
new
();
3377
using TabPage page2 =
new
()
3440
using TabPage page1 =
new
();
3441
using TabPage page2 =
new
()
3491
using TabPage control =
new
()
3514
using TabPage control =
new
();
3551
using TabPage control =
new
()
3574
using TabPage control =
new
()
3648
using TabPage control =
new
()
3705
using TabPage control =
new
()
3813
using TabPage grandparent =
new
();
4882
using TabPage control =
new
();
4889
using TabPage control =
new
("text");
4903
using TabPage control =
new
();
4916
using TabPage control =
new
();
4933
using TabPage control =
new
();
4944
using TabPage control =
new
();
4964
tabControl.TabPages.Add(new
TabPage
());
4999
using TabPage control =
new
();
5012
using TabPage control =
new
();
5031
using TabPage page =
new
();
5043
using TabPage control =
new
();
5055
using TabPage control =
new
();
5087
using TabPage control =
new
();
5123
using TabPage control =
new
();
5154
using TabPage control =
new
();
5180
using TabPage control =
new
();
System\Windows\Forms\TabPageTests.TabPageControlCollection.cs (4)
11
using TabPage owner =
new
();
27
using TabPage owner =
new
();
104
using TabPage owner =
new
();
105
using TabPage control =
new
();
System\Windows\Forms\ToolStripTests.cs (2)
5914
TabPage tabPage =
new
()
5962
TabPage tabPage =
new
()
System\Windows\Forms\ToolTipTests.cs (3)
839
using TabPage tabPage =
new
() { ToolTipText = "TabPage" };
880
using TabPage tabPage1 =
new
();
881
using TabPage tabPage2 =
new
();
System\Windows\Forms\UserControlTests.cs (2)
1267
using TabPage grandchild3 =
new
();
1493
using TabPage grandchild3 =
new
();
System.Windows.Forms.UI.IntegrationTests (5)
TabControlTests.cs (5)
88
TabPage tabPage1 =
new
();
89
TabPage tabPage2 =
new
();
138
TabPage tabPage1 =
new
() { Text = "Page 1" };
139
TabPage tabPage2 =
new
() { Text = "Page 2" };
140
TabPage tabPage3 =
new
() { Text = "Page 3" };
WinFormsControlsTest (4)
MultipleControls.Designer.cs (2)
42
this.tabPage1 = new System.Windows.Forms.
TabPage
();
44
this.tabPage2 = new System.Windows.Forms.
TabPage
();
ScrollableControls.Designer.cs (2)
68
tabPage1 = new
TabPage
();
70
tabPage2 = new
TabPage
();
823 references to TabPage
Accessibility_Core_App (12)
ContainerControls.Designer.cs (10)
885
private System.Windows.Forms.
TabPage
tabPage9;
887
private System.Windows.Forms.
TabPage
tabPage10;
889
private System.Windows.Forms.
TabPage
tabPage11;
891
private System.Windows.Forms.
TabPage
tabPage12;
899
private System.Windows.Forms.
TabPage
tabPage1;
900
private System.Windows.Forms.
TabPage
tabPage2;
905
private System.Windows.Forms.
TabPage
tabPage3;
907
private System.Windows.Forms.
TabPage
tabPage4;
915
private System.Windows.Forms.
TabPage
tabPage5;
916
private System.Windows.Forms.
TabPage
tabPage6;
ContainerControls2.Designer.cs (2)
481
private System.Windows.Forms.
TabPage
tabPage7;
482
private System.Windows.Forms.
TabPage
tabPage8;
DesignSurface (6)
MainForm.Designer.cs (6)
334
private System.Windows.Forms.
TabPage
tabPage1;
335
private System.Windows.Forms.
TabPage
tabPage2;
336
private System.Windows.Forms.
TabPage
tabPage3;
337
private System.Windows.Forms.
TabPage
tabPage4;
338
private System.Windows.Forms.
TabPage
tabPage5;
339
private System.Windows.Forms.
TabPage
tabPage6;
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 = [];
479
foreach (
TabPage
tabPage in TabPages)
723
public
TabPage
? SelectedTab
917
private int AddTabPage(
TabPage
tabPage)
928
private int AddNativeTabPage(
TabPage
tabPage)
979
TabPage
t = GetTabPage(index);
996
public void DeselectTab(
TabPage
tabPage)
1011
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)
1267
foreach (
TabPage
page in TabPages)
1535
TabPage
[] tabPages = GetTabPages();
1614
TabPage
[] pages = GetTabPages();
1636
private void SetTabPage(int index,
TabPage
value)
1661
TabPage
t = GetTabPage(index);
1671
public void SelectTab(
TabPage
tabPage)
1686
TabPage
tabPage = TabPages[tabPageName]!;
1810
TabPage
[] tabPages = GetTabPages();
1895
internal void UpdateTab(
TabPage
tabPage)
2108
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)
205
TabPage
? selectedTab = tabControl.SelectedTab;
497
public static
TabPage
? GetTabPageOfComponent(object? comp)
505
while (c is not null and not
TabPage
)
510
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)
112
public override bool CanParent(Control control) => (control is
TabPage
&& !Control.Contains(control));
187
internal static
TabPage
GetTabPageOfComponent(TabControl parent, object comp)
197
TabPage
page = c as
TabPage
;
263
TabPage
page = (
TabPage
)host.CreateComponent(typeof(
TabPage
));
334
TabPage
tp = tc.SelectedTab;
416
TabPage
page = GetTabPageOfComponent(tabControl, comp);
444
TabPage
page = GetTabPageOfComponent(tabControl, comp);
484
TabPage
selectedTab = ((TabControl)Component).SelectedTab;
510
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;
System.Windows.Forms.Design.Tests (12)
EnsureEditorsTests.cs (2)
126
[InlineData(typeof(
TabPage
), "ImageIndex", typeof(ImageIndexEditor))]
127
[InlineData(typeof(
TabPage
), "ImageKey", typeof(ImageIndexEditor))]
System\Windows\Forms\Design\TabControlDesignerTests.cs (7)
25
private (TabControlDesigner designer, TabControl tabControl,
TabPage
tabPage) CreateDesignerWithMockedHost()
29
TabPage
tabPage = new();
33
designerHost.Setup(h => h.CreateComponent(typeof(
TabPage
))).Returns(tabPage);
45
using
TabPage
tabPage = new();
47
designerHost.Setup(h => h.CreateComponent(typeof(
TabPage
))).Returns(tabPage);
56
[InlineData(typeof(
TabPage
), true)]
67
if (control is
TabPage
tabPage && expected == false)
System\Windows\Forms\Design\TabPageDesignerTests.cs (3)
13
private (TabPageDesigner designer,
TabPage
tabPage) InitializeDesignerWithTabPage()
15
TabPage
tabPage = new();
53
using
TabPage
tabPage = new();
System.Windows.Forms.Tests (692)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
1733
or
TabPage
);
System\Windows\Forms\AccessibleObjects\TabPage.TabAccessibleObjectTests.cs (4)
6
using static System.Windows.Forms.
TabPage
;
36
using
TabPage
tabPage = new();
44
static void EnforceTabAccessibilityObjectCreation(
TabPage
tabPage)
1129
internal SubTabAccessibleObject(
TabPage
owningTabPage) : base(owningTabPage)
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (24)
7
using static System.Windows.Forms.
TabPage
;
16
using
TabPage
tabPage = new();
26
using
TabPage
tabPage = new();
41
using
TabPage
tabPage = new();
71
using
TabPage
tabPage = new();
86
using
TabPage
tabPage = new();
106
using
TabPage
tabPage = new()
125
using
TabPage
tabPage = new();
139
using
TabPage
tabPage = new();
157
using
TabPage
tabPage = new();
173
using
TabPage
tabPage = new() { Enabled = enabled };
189
using
TabPage
tabPage = new();
342
using
TabPage
tabPage = new();
353
using
TabPage
tabPage = new();
364
using
TabPage
tabPage = new();
375
using
TabPage
tabPage = new();
386
using
TabPage
tabPage = new();
397
using
TabPage
tabPage = new();
428
using
TabPage
tabPage = new();
448
using
TabPage
tabPage = new() { Text = text };
468
using
TabPage
tabPage = new() { Text = text };
486
using
TabPage
tabPage = new()
516
using
TabPage
tabPage = new();
529
using
TabPage
tabPage = new();
System\Windows\Forms\ContainerControlTests.cs (2)
801
using
TabPage
grandchild3 = new();
1027
using
TabPage
grandchild3 = new();
System\Windows\Forms\ControlTests.Handlers.cs (2)
3893
TabPage
tabPage = new()
3934
TabPage
tabPage = new()
System\Windows\Forms\ScrollableControlTests.cs (2)
1572
Func<
TabPage
> tabPageFactory = () => new TabPage
1667
static
TabPage
CreateTabPage() => new()
System\Windows\Forms\TabControl.ControlCollectionTests.cs (64)
45
using
TabPage
value1 = new();
46
using
TabPage
value2 = new();
87
Assert.Equal(new
TabPage
[] { value1, value2 }, owner.TabPages.Cast<
TabPage
>());
115
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, owner.TabPages.Cast<
TabPage
>());
168
using
TabPage
value1 = new();
169
using
TabPage
value2 = new();
226
Assert.Equal(new
TabPage
[] { value1, value2 }, owner.TabPages.Cast<
TabPage
>());
267
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, owner.TabPages.Cast<
TabPage
>());
328
using
TabPage
value1 = new();
329
using
TabPage
value2 = new();
387
Assert.Equal(new
TabPage
[] { value1, value2 }, owner.TabPages.Cast<
TabPage
>());
421
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, owner.TabPages.Cast<
TabPage
>());
469
using
TabPage
value1 = new();
470
using
TabPage
value2 = new();
544
Assert.Equal(new
TabPage
[] { value1, value2 }, owner.TabPages.Cast<
TabPage
>());
591
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, owner.TabPages.Cast<
TabPage
>());
660
using
TabPage
value = new();
691
using
TabPage
value = new()
717
using
TabPage
value = new();
735
List<
TabPage
> items = [];
738
TabPage
value = new();
742
Assert.Equal(items, owner.TabPages.Cast<
TabPage
>());
757
using
TabPage
page1 = new();
758
using
TabPage
page2 = new()
825
using
TabPage
page1 = new();
826
using
TabPage
page2 = new()
894
using
TabPage
value1 = new();
895
using
TabPage
value2 = new();
992
using
TabPage
value1 = new();
993
using
TabPage
value2 = new();
1119
using
TabPage
value1 = new();
1120
using
TabPage
value2 = new();
1231
using
TabPage
value1 = new();
1232
using
TabPage
value2 = new();
1353
using
TabPage
value1 = new();
1354
using
TabPage
value2 = new();
1355
using
TabPage
value3 = new();
1356
using
TabPage
value4 = new();
1367
Assert.Equal(new Control[] { value1, value3, value4 }, collection.Cast<
TabPage
>());
1372
Assert.Equal(new Control[] { value1, value3 }, collection.Cast<
TabPage
>());
1377
Assert.Equal(new Control[] { value3 }, collection.Cast<
TabPage
>());
1390
using
TabPage
value1 = new();
1391
using
TabPage
value2 = new();
1392
using
TabPage
value3 = new();
1393
using
TabPage
value4 = new();
1405
Assert.Equal(new Control[] { value1, value3, value4 }, collection.Cast<
TabPage
>());
1410
Assert.Equal(new Control[] { value1, value3 }, collection.Cast<
TabPage
>());
1415
Assert.Equal(new Control[] { value3 }, collection.Cast<
TabPage
>());
1430
List<
TabPage
> items = [];
1433
TabPage
value = new();
1437
Assert.Equal(items, owner.TabPages.Cast<
TabPage
>());
1446
Assert.Equal(items, owner.TabPages.Cast<
TabPage
>());
1466
using
TabPage
page1 = new();
1467
using
TabPage
page2 = new()
1524
using
TabPage
page1 = new();
1525
using
TabPage
page2 = new()
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (330)
30
using
TabPage
value1 = new();
31
using
TabPage
value2 = new();
72
Assert.Equal(new
TabPage
[] { value1, value2 }, collection.Cast<
TabPage
>());
73
Assert.Equal(new
TabPage
[] { value1, value2 }, owner.TabPages.Cast<
TabPage
>());
101
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, collection.Cast<
TabPage
>());
102
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, owner.TabPages.Cast<
TabPage
>());
156
using
TabPage
value1 = new();
157
using
TabPage
value2 = new();
214
Assert.Equal(new
TabPage
[] { value1, value2 }, collection.Cast<
TabPage
>());
215
Assert.Equal(new
TabPage
[] { value1, value2 }, owner.TabPages.Cast<
TabPage
>());
256
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, collection.Cast<
TabPage
>());
257
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, owner.TabPages.Cast<
TabPage
>());
319
using
TabPage
value1 = new();
320
using
TabPage
value2 = new();
378
Assert.Equal(new
TabPage
[] { value1, value2 }, collection.Cast<
TabPage
>());
379
Assert.Equal(new
TabPage
[] { value1, value2 }, owner.TabPages.Cast<
TabPage
>());
413
Assert.Equal(new
TabPage
[] { value1, value2, value1, }, collection.Cast<
TabPage
>());
414
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, owner.TabPages.Cast<
TabPage
>());
463
using
TabPage
value1 = new();
464
using
TabPage
value2 = new();
538
Assert.Equal(new
TabPage
[] { value1, value2 }, collection.Cast<
TabPage
>());
539
Assert.Equal(new
TabPage
[] { value1, value2 }, owner.TabPages.Cast<
TabPage
>());
586
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, collection.Cast<
TabPage
>());
587
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, owner.TabPages.Cast<
TabPage
>());
657
using
TabPage
value = new();
690
using
TabPage
value = new()
718
using
TabPage
value = new();
738
List<
TabPage
> items = [];
741
TabPage
value = new();
744
Assert.Equal(items, collection.Cast<
TabPage
>());
745
Assert.Equal(items, owner.TabPages.Cast<
TabPage
>());
761
using
TabPage
page1 = new();
762
using
TabPage
page2 = new()
831
using
TabPage
page1 = new();
832
using
TabPage
page2 = new()
883
Assert.Throws<ArgumentNullException>("value", () => collection.Add((
TabPage
)null));
896
TabPage
page = Assert.IsType<
TabPage
>(Assert.Single(collection));
917
TabPage
page = Assert.IsType<
TabPage
>(Assert.Single(collection));
938
TabPage
page = Assert.IsType<
TabPage
>(Assert.Single(collection));
959
TabPage
page = Assert.IsType<
TabPage
>(Assert.Single(collection));
977
using
TabPage
value1 = new();
978
using
TabPage
value2 = new();
1019
Assert.Equal(new
TabPage
[] { value1, value2 }, collection.Cast<
TabPage
>());
1020
Assert.Equal(new
TabPage
[] { value1, value2 }, owner.TabPages.Cast<
TabPage
>());
1047
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, collection.Cast<
TabPage
>());
1048
Assert.Equal(new
TabPage
[] { value1, value2, value1 }, owner.TabPages.Cast<
TabPage
>());
1101
using
TabPage
child1 = new();
1102
using
TabPage
child2 = new();
1103
using
TabPage
child3 = new();
1114
Assert.Equal(new
TabPage
[] { child1, child2, child3 }, collection.Cast<
TabPage
>());
1126
Assert.Equal(new
TabPage
[] { child1, child2, child3, child1, child2, child3 }, collection.Cast<
TabPage
>());
1138
collection.AddRange(Array.Empty<
TabPage
>());
1139
Assert.Equal(new
TabPage
[] { child1, child2, child3, child1, child2, child3 }, collection.Cast<
TabPage
>());
1201
using
TabPage
child1 = new();
1202
using
TabPage
child2 = new();
1217
using
TabPage
child = new();
1229
using
TabPage
child = new();
1268
using
TabPage
child1 = new();
1269
using
TabPage
child2 = new();
1284
using
TabPage
child1 = new();
1285
using
TabPage
child2 = new();
1336
using
TabPage
child1 = new();
1337
using
TabPage
child2 = new();
1338
using
TabPage
child3 = new();
1449
using
TabPage
child1 = new();
1450
using
TabPage
child2 = new();
1451
using
TabPage
child3 = new();
1526
using
TabPage
child1 = new();
1527
using
TabPage
child2 = new();
1528
using
TabPage
child3 = new();
1545
using
TabPage
child1 = new();
1546
using
TabPage
child2 = new();
1578
using
TabPage
child1 = new();
1579
using
TabPage
child2 = new();
1618
using
TabPage
child1 = new()
1622
using
TabPage
child2 = new()
1626
using
TabPage
child3 = new()
1683
using
TabPage
child1 = new();
1684
using
TabPage
child2 = new();
1685
using
TabPage
child3 = new();
1722
using
TabPage
child = new();
1745
using
TabPage
child1 = new();
1746
using
TabPage
child2 = new();
1747
using
TabPage
child3 = new();
1781
using
TabPage
child1 = new();
1782
using
TabPage
child2 = new();
1783
using
TabPage
child3 = new();
1850
using
TabPage
child1 = new();
1851
using
TabPage
child2 = new();
1883
using
TabPage
child1 = new();
1884
using
TabPage
child2 = new();
1923
using
TabPage
child1 = new()
1927
using
TabPage
child2 = new()
1931
using
TabPage
child3 = new()
1972
using
TabPage
value1 = new();
1973
using
TabPage
value2 = new();
2014
Assert.Equal(new
TabPage
[] { value2, value1 }, collection.Cast<
TabPage
>());
2015
Assert.Equal(new
TabPage
[] { value2, value1 }, owner.TabPages.Cast<
TabPage
>());
2045
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, collection.Cast<
TabPage
>());
2046
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, owner.TabPages.Cast<
TabPage
>());
2093
using
TabPage
value1 = new();
2094
using
TabPage
value2 = new();
2151
Assert.Equal(new
TabPage
[] { value2, value1 }, collection.Cast<
TabPage
>());
2152
Assert.Equal(new
TabPage
[] { value2, value1 }, owner.TabPages.Cast<
TabPage
>());
2195
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, collection.Cast<
TabPage
>());
2196
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, owner.TabPages.Cast<
TabPage
>());
2262
using
TabPage
value1 = new();
2263
using
TabPage
value2 = new();
2321
Assert.Equal(new
TabPage
[] { value2, value1 }, collection.Cast<
TabPage
>());
2322
Assert.Equal(new
TabPage
[] { value2, value1 }, owner.TabPages.Cast<
TabPage
>());
2358
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, collection.Cast<
TabPage
>());
2359
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, owner.TabPages.Cast<
TabPage
>());
2412
using
TabPage
value1 = new();
2413
using
TabPage
value2 = new();
2487
Assert.Equal(new
TabPage
[] { value2, value1 }, collection.Cast<
TabPage
>());
2488
Assert.Equal(new
TabPage
[] { value2, value1 }, owner.TabPages.Cast<
TabPage
>());
2537
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, collection.Cast<
TabPage
>());
2538
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, owner.TabPages.Cast<
TabPage
>());
2612
using
TabPage
value = new();
2643
using
TabPage
value = new()
2669
using
TabPage
value = new();
2688
List<
TabPage
> items = [];
2691
TabPage
value = new();
2694
Assert.Equal(items, collection.Cast<
TabPage
>());
2695
Assert.Equal(items, owner.TabPages.Cast<
TabPage
>());
2696
Assert.Equal(items, owner.Controls.Cast<
TabPage
>());
2710
TabPage
page = Assert.IsType<
TabPage
>(Assert.Single(collection));
2730
TabPage
page = Assert.IsType<
TabPage
>(Assert.Single(collection));
2750
TabPage
page = Assert.IsType<
TabPage
>(Assert.Single(collection));
2770
TabPage
page = Assert.IsType<
TabPage
>(Assert.Single(collection));
2789
using
TabPage
page1 = new();
2790
using
TabPage
page2 = new()
2857
using
TabPage
page1 = new();
2858
using
TabPage
page2 = new()
2907
Assert.Throws<ArgumentNullException>("tabPage", () => collection.Insert(0, (
TabPage
)null));
2915
using
TabPage
value = new();
2931
using
TabPage
value = new();
2947
using
TabPage
value = new();
2960
using
TabPage
value = new();
2971
using
TabPage
child = new();
2976
using
TabPage
value = new();
2992
using
TabPage
child = new();
2999
using
TabPage
value = new();
3017
using
TabPage
value1 = new();
3018
using
TabPage
value2 = new();
3060
Assert.Equal(new
TabPage
[] { value2, value1 }, collection.Cast<
TabPage
>());
3061
Assert.Equal(new
TabPage
[] { value2, value1 }, owner.TabPages.Cast<
TabPage
>());
3091
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, collection.Cast<
TabPage
>());
3092
Assert.Equal(new
TabPage
[] { value2, value1, value1 }, owner.TabPages.Cast<
TabPage
>());
3152
using
TabPage
value = new();
3165
using
TabPage
value = new();
3178
using
TabPage
value = new();
3192
using
TabPage
value = new();
3203
using
TabPage
child = new();
3207
using
TabPage
value = new();
3219
using
TabPage
child = new();
3225
using
TabPage
value = new();
3237
using
TabPage
child1 = new()
3241
using
TabPage
child2 = new()
3245
using
TabPage
child3 = new()
3273
using
TabPage
child1 = new()
3277
using
TabPage
child2 = new()
3281
using
TabPage
child3 = new()
3317
using
TabPage
page1 = new();
3318
using
TabPage
page2 = new();
3346
using
TabPage
page = new();
3361
using
TabPage
page1 = new();
3362
using
TabPage
page2 = new();
3363
using
TabPage
page3 = new();
3371
using
TabPage
newPage = new();
3406
using
TabPage
page1 = new();
3407
using
TabPage
page2 = new();
3408
using
TabPage
page3 = new();
3416
using
TabPage
newPage = new();
3438
using
TabPage
page1 = new();
3439
using
TabPage
page2 = new();
3440
using
TabPage
page3 = new();
3456
using
TabPage
newPage = new();
3494
using
TabPage
page1 = new();
3495
using
TabPage
page2 = new();
3496
using
TabPage
page3 = new();
3512
using
TabPage
newPage = new();
3538
using
TabPage
page1 = new();
3539
using
TabPage
page2 = new();
3549
using
TabPage
value = new()
3610
using
TabPage
page1 = new();
3611
using
TabPage
page2 = new();
3621
using
TabPage
value = new()
3665
using
TabPage
page = new();
3678
using
TabPage
page = new();
3693
using
TabPage
page = new();
3705
using
TabPage
page1 = new();
3706
using
TabPage
page2 = new();
3718
using
TabPage
page1 = new();
3719
using
TabPage
page2 = new();
3747
using
TabPage
page = new();
3761
using
TabPage
page1 = new();
3762
using
TabPage
page2 = new();
3763
using
TabPage
page3 = new();
3770
using
TabPage
newPage = new();
3805
using
TabPage
page1 = new();
3806
using
TabPage
page2 = new();
3807
using
TabPage
page3 = new();
3814
using
TabPage
newPage = new();
3836
using
TabPage
page1 = new();
3837
using
TabPage
page2 = new();
3838
using
TabPage
page3 = new();
3853
using
TabPage
newPage = new();
3891
using
TabPage
page1 = new();
3892
using
TabPage
page2 = new();
3893
using
TabPage
page3 = new();
3908
using
TabPage
newPage = new();
3938
using
TabPage
page = new();
3952
using
TabPage
page = new();
3965
using
TabPage
page1 = new();
3966
using
TabPage
page2 = new();
3980
using
TabPage
value1 = new();
3981
using
TabPage
value2 = new();
4081
using
TabPage
value1 = new();
4082
using
TabPage
value2 = new();
4211
using
TabPage
value1 = new();
4212
using
TabPage
value2 = new();
4328
using
TabPage
value1 = new();
4329
using
TabPage
value2 = new();
4455
using
TabPage
value1 = new();
4456
using
TabPage
value2 = new();
4457
using
TabPage
value3 = new();
4458
using
TabPage
value4 = new();
4471
Assert.Equal(new Control[] { value1, value3, value4 }, collection.Cast<
TabPage
>());
4476
Assert.Equal(new Control[] { value1, value3 }, collection.Cast<
TabPage
>());
4481
Assert.Equal(new Control[] { value3 }, collection.Cast<
TabPage
>());
4494
using
TabPage
value1 = new();
4495
using
TabPage
value2 = new();
4496
using
TabPage
value3 = new();
4497
using
TabPage
value4 = new();
4511
Assert.Equal(new Control[] { value1, value3, value4 }, collection.Cast<
TabPage
>());
4516
Assert.Equal(new Control[] { value1, value3 }, collection.Cast<
TabPage
>());
4521
Assert.Equal(new Control[] { value3 }, collection.Cast<
TabPage
>());
4536
List<
TabPage
> items = [];
4539
TabPage
value = new();
4542
Assert.Equal(items, collection.Cast<
TabPage
>());
4543
Assert.Equal(items, owner.TabPages.Cast<
TabPage
>());
4551
Assert.Equal(items, collection.Cast<
TabPage
>());
4552
Assert.Equal(items, owner.TabPages.Cast<
TabPage
>());
4561
using
TabPage
value = new();
4569
using
TabPage
page1 = new();
4570
using
TabPage
page2 = new();
4576
using
TabPage
value = new();
4584
using
TabPage
page1 = new();
4585
using
TabPage
page2 = new()
4644
using
TabPage
page1 = new();
4645
using
TabPage
page2 = new()
4701
using
TabPage
value1 = new();
4702
using
TabPage
value2 = new();
4812
using
TabPage
child1 = new();
4813
using
TabPage
child2 = new();
4838
Assert.Equal(new
TabPage
[] { child1 }, collection.Cast<
TabPage
>());
4881
using
TabPage
child = new();
4895
using
TabPage
child1 = new()
4899
using
TabPage
child2 = new()
4903
using
TabPage
child3 = new()
4932
Assert.Equal(new
TabPage
[] { child1, child3 }, collection.Cast<
TabPage
>());
4945
Assert.Equal(new
TabPage
[] { child1 }, collection.Cast<
TabPage
>());
4971
using
TabPage
child1 = new()
4975
using
TabPage
child2 = new()
4979
using
TabPage
child3 = new()
4991
Assert.Equal(new
TabPage
[] { child1, child2, child3 }, collection.Cast<
TabPage
>());
4995
Assert.Equal(new
TabPage
[] { child1, child2, child3 }, collection.Cast<
TabPage
>());
5003
using
TabPage
page1 = new();
5004
using
TabPage
page2 = new();
5005
using
TabPage
page3 = new();
5030
using
TabPage
page1 = new();
5031
using
TabPage
page2 = new();
5032
using
TabPage
page3 = new();
System\Windows\Forms\TabControlCancelEventArgsTests.cs (1)
18
public void Ctor_TabPage_Int_Bool_TabControlAction(
TabPage
tabPage, int tabPageIndex, bool cancel, TabControlAction action)
System\Windows\Forms\TabControlEventArgsTests.cs (1)
18
public void Ctor_TabPage_Int_TabControlAction(
TabPage
tabPage, int tabPageIndex, TabControlAction action)
System\Windows\Forms\TabControlTests.cs (120)
1045
using
TabPage
page1 = new();
1046
using
TabPage
page2 = new()
1259
using
TabPage
page1 = new();
1260
using
TabPage
page2 = new();
1455
using
TabPage
page1 = new();
1456
using
TabPage
page2 = new();
2016
using
TabPage
page1 = new();
2017
using
TabPage
page2 = new();
2051
using
TabPage
page1 = new();
2052
using
TabPage
page2 = new();
2118
using
TabPage
page1 = new();
2119
using
TabPage
page2 = new();
2134
Assert.Equal(expectedVisible, control.TabPages.Cast<
TabPage
>().Select(p => p.Visible));
2143
Assert.Equal(expectedVisible, control.TabPages.Cast<
TabPage
>().Select(p => p.Visible));
2522
using
TabPage
page1 = new();
2523
using
TabPage
page2 = new();
2556
public void TabControl_SelectedTab_SetWithoutPages_GetReturnsExpected(
TabPage
value)
2577
using
TabPage
page1 = new();
2578
using
TabPage
page2 = new();
2579
using
TabPage
page3 = new();
2636
public void TabControl_SelectedTab_SetWithoutPagesWithHandle_GetReturnsExpected(
TabPage
value)
2669
using
TabPage
page1 = new();
2670
using
TabPage
page2 = new();
2671
using
TabPage
page3 = new();
3015
using
TabPage
page1 = new();
3016
using
TabPage
page2 = new();
3066
using
TabPage
page1 = new();
3067
using
TabPage
page2 = new();
3174
using
TabPage
page = new();
3182
using
TabPage
page1 = new();
3183
using
TabPage
page2 = new();
3184
using
TabPage
page3 = new();
3194
using
TabPage
page1 = new()
3198
using
TabPage
page2 = new()
3251
using
TabPage
page1 = new()
3255
using
TabPage
page2 = new()
3383
using
TabPage
page1 = new();
3384
using
TabPage
page2 = new();
3394
using
TabPage
page1 = new();
3395
using
TabPage
page2 = new();
3445
using
TabPage
page1 = new();
3446
using
TabPage
page2 = new();
3566
using
TabPage
page1 = new();
3567
using
TabPage
page2 = new();
3618
using
TabPage
page1 = new();
3619
using
TabPage
page2 = new();
3643
using
TabPage
page1 = new();
3644
using
TabPage
page2 = new();
3654
using
TabPage
page1 = new();
3655
using
TabPage
page2 = new();
3679
using
TabPage
page1 = new();
3680
using
TabPage
page2 = new();
3724
using
TabPage
page = new();
3753
using
TabPage
page = new();
3792
using
TabPage
page1 = new();
3813
using
TabPage
page1 = new();
3833
object[] result = Assert.IsType<
TabPage
[]>(control.GetItems());
3842
using
TabPage
page1 = new();
3846
object[] result = Assert.IsType<
TabPage
[]>(control.GetItems());
3853
[InlineData(typeof(
TabPage
))]
3864
[InlineData(typeof(
TabPage
))]
3870
using
TabPage
page1 = new();
3910
using
TabPage
page1 = new();
3921
using
TabPage
page1 = new();
3969
using
TabPage
item = new()
4142
using
TabPage
page1 = new();
4143
using
TabPage
page2 = new();
4278
using
TabPage
page1 = new();
4279
using
TabPage
page2 = new();
4453
using
TabPage
page1 = new();
4454
using
TabPage
page2 = new();
4616
using
TabPage
page1 = new();
4617
using
TabPage
page2 = new();
4691
using
TabPage
page1 = new();
4692
using
TabPage
page2 = new();
4772
using
TabPage
page1 = new();
4773
using
TabPage
page2 = new();
4881
using
TabPage
page1 = new();
4882
using
TabPage
page2 = new();
4890
Assert.Equal(new
TabPage
[] { page1, page2 }, control.TabPages.Cast<
TabPage
>());
4898
Assert.Equal(new
TabPage
[] { page1, page2 }, control.TabPages.Cast<
TabPage
>());
4907
Assert.Equal(new
TabPage
[] { page1, page2 }, control.TabPages.Cast<
TabPage
>());
4919
using
TabPage
page1 = new();
4920
using
TabPage
page2 = new()
5002
using
TabPage
child1 = new();
5003
using
TabPage
child2 = new();
5004
using
TabPage
child3 = new();
5107
using
TabPage
child1 = new();
5108
using
TabPage
child2 = new();
5109
using
TabPage
child3 = new();
5179
using
TabPage
child1 = new();
5180
using
TabPage
child2 = new();
5181
using
TabPage
child3 = new();
5195
using
TabPage
page1 = new();
5196
using
TabPage
page2 = new();
5235
using
TabPage
page1 = new();
5236
using
TabPage
page2 = new();
5323
Assert.Throws<ArgumentNullException>("tabPage", () => control.SelectTab((
TabPage
)null));
5330
using
TabPage
page = new();
5338
using
TabPage
page1 = new();
5339
using
TabPage
page2 = new();
5340
using
TabPage
page3 = new();
5350
using
TabPage
page1 = new()
5354
using
TabPage
page2 = new()
5396
using
TabPage
page1 = new()
5400
using
TabPage
page2 = new()
5508
using
TabPage
page1 = new();
5509
using
TabPage
page2 = new();
5510
using
TabPage
page3 = new();
5520
using
TabPage
page1 = new();
5521
using
TabPage
page2 = new();
5560
using
TabPage
page1 = new();
5561
using
TabPage
page2 = new();
5661
using
TabPage
page1 = new();
5662
using
TabPage
page2 = new();
5679
using
TabPage
page1 = new("text1");
5680
using
TabPage
page2 = new("text2");
System\Windows\Forms\TabPageTests.cs (125)
54
Assert.IsType<
TabPage
.TabPageControlCollection>(control.Controls);
163
Assert.IsType<
TabPage
.TabPageControlCollection>(control.Controls);
259
using
TabPage
control = new()
278
using
TabPage
control = new()
299
using
TabPage
control = new()
320
using
TabPage
control = new();
345
using
TabPage
control = new()
530
using
TabPage
control = new()
548
using
TabPage
control = new()
575
using
TabPage
control = new()
591
using
TabPage
control = new()
634
using
TabPage
control = new()
647
using
TabPage
control = new()
664
using
TabPage
control = new()
706
using
TabPage
control = new()
748
using
TabPage
control = new()
791
using
TabPage
control = new()
808
.Setup(p => p.GetTypeDescriptor(typeof(
TabPage
), control))
834
using
TabPage
control = new();
862
using
TabPage
control = new();
898
using
TabPage
control = new()
915
using
TabPage
control = new()
934
using
TabPage
control = new()
952
using
TabPage
control = new()
991
using
TabPage
control = new();
999
using
TabPage
control = new()
1062
using
TabPage
control = new()
1103
using
TabPage
control = new()
1127
using
TabPage
control = new()
1167
using
TabPage
control = new()
1193
using
TabPage
control = new()
1217
using
TabPage
control = new();
1253
using
TabPage
control = new()
1319
using
TabPage
control = new()
1372
using
TabPage
page1 = new();
1373
using
TabPage
page2 = new()
1439
using
TabPage
page1 = new();
1440
using
TabPage
page2 = new()
1489
using
TabPage
control = new();
1497
using
TabPage
control = new()
1519
using
TabPage
control = new()
1556
using
TabPage
control = new()
1579
using
TabPage
control = new()
1599
using
TabPage
control = new();
1633
using
TabPage
control = new()
1697
using
TabPage
control = new()
1747
using
TabPage
page1 = new();
1748
using
TabPage
page2 = new()
1811
using
TabPage
page1 = new();
1812
using
TabPage
page2 = new()
1871
using
TabPage
control = new();
2310
using
TabPage
control = new();
2364
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
TabPage
))[nameof(
TabPage
.Location)];
2365
using
TabPage
control = new();
2392
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
TabPage
))[nameof(
TabPage
.Location)];
2393
using
TabPage
control = new();
2421
using
TabPage
control = new()
2446
using
TabPage
control = new()
2483
using
TabPage
control = new()
2501
using
TabPage
control = new()
2522
using
TabPage
control = new()
2541
using
TabPage
control = new();
2570
using
TabPage
control = new();
2605
using
TabPage
control = new();
2614
using
TabPage
control = new();
2625
using
TabPage
control = new()
2641
using
TabPage
control = new()
2679
using
TabPage
control = new();
2687
using
TabPage
control = new()
2709
using
TabPage
control = new();
2745
using
TabPage
control = new()
2784
using
TabPage
control = new()
2802
using
TabPage
control = new()
2838
using
TabPage
control = new()
2860
using
TabPage
control = new();
2890
using
TabPage
control = new()
2952
using
TabPage
control = new()
3004
using
TabPage
page1 = new();
3005
using
TabPage
page2 = new()
3071
using
TabPage
page1 = new();
3072
using
TabPage
page2 = new()
3120
using
TabPage
control = new();
3156
using
TabPage
control = new()
3174
using
TabPage
control = new()
3210
using
TabPage
control = new()
3232
using
TabPage
control = new();
3264
using
TabPage
control = new()
3328
using
TabPage
control = new()
3376
using
TabPage
page1 = new();
3377
using
TabPage
page2 = new()
3440
using
TabPage
page1 = new();
3441
using
TabPage
page2 = new()
3491
using
TabPage
control = new()
3514
using
TabPage
control = new();
3551
using
TabPage
control = new()
3574
using
TabPage
control = new()
3648
using
TabPage
control = new()
3705
using
TabPage
control = new()
3744
Control.ControlCollection controls = Assert.IsType<
TabPage
.TabPageControlCollection>(control.CreateControlsInstance());
3813
using
TabPage
grandparent = new();
3822
Assert.Same(grandparent,
TabPage
.GetTabPageOfComponent(control));
3823
Assert.Same(grandparent,
TabPage
.GetTabPageOfComponent(parent));
3824
Assert.Same(grandparent,
TabPage
.GetTabPageOfComponent(grandparent));
3839
Assert.Null(
TabPage
.GetTabPageOfComponent(control));
3840
Assert.Null(
TabPage
.GetTabPageOfComponent(parent));
3841
Assert.Null(
TabPage
.GetTabPageOfComponent(grandparent));
3849
Assert.Null(
TabPage
.GetTabPageOfComponent(comp));
4882
using
TabPage
control = new();
4889
using
TabPage
control = new("text");
4903
using
TabPage
control = new();
4916
using
TabPage
control = new();
4933
using
TabPage
control = new();
4944
using
TabPage
control = new();
4967
TabPage
testedTab = tabControl.TabPages[index];
4999
using
TabPage
control = new();
5012
using
TabPage
control = new();
5031
using
TabPage
page = new();
5043
using
TabPage
control = new();
5055
using
TabPage
control = new();
5087
using
TabPage
control = new();
5123
using
TabPage
control = new();
5154
using
TabPage
control = new();
5180
using
TabPage
control = new();
System\Windows\Forms\TabPageTests.TabPageControlCollection.cs (9)
11
using
TabPage
owner = new();
12
var collection = new
TabPage
.TabPageControlCollection(owner);
21
Assert.Throws<ArgumentNullException>("owner", () => new
TabPage
.TabPageControlCollection(null));
27
using
TabPage
owner = new();
30
TabPage
.TabPageControlCollection collection = Assert.IsType<
TabPage
.TabPageControlCollection>(owner.Controls);
104
using
TabPage
owner = new();
105
using
TabPage
control = new();
106
var collection = new
TabPage
.TabPageControlCollection(owner);
System\Windows\Forms\ToolStripTests.cs (2)
5914
TabPage
tabPage = new()
5962
TabPage
tabPage = new()
System\Windows\Forms\ToolTipTests.cs (3)
839
using
TabPage
tabPage = new() { ToolTipText = "TabPage" };
880
using
TabPage
tabPage1 = new();
881
using
TabPage
tabPage2 = new();
System\Windows\Forms\UserControlTests.cs (2)
1267
using
TabPage
grandchild3 = new();
1493
using
TabPage
grandchild3 = new();
System.Windows.Forms.UI.IntegrationTests (6)
TabControlTests.cs (6)
88
TabPage
tabPage1 = new();
89
TabPage
tabPage2 = new();
104
var originalPages = tabControl.TabPages.Cast<
TabPage
>().ToArray();
138
TabPage
tabPage1 = new() { Text = "Page 1" };
139
TabPage
tabPage2 = new() { Text = "Page 2" };
140
TabPage
tabPage3 = new() { Text = "Page 3" };
WinFormsControlsTest (4)
MultipleControls.Designer.cs (2)
340
private System.Windows.Forms.
TabPage
tabPage1;
342
private System.Windows.Forms.
TabPage
tabPage2;
ScrollableControls.Designer.cs (2)
492
private
TabPage
tabPage1;
494
private
TabPage
tabPage2;