11 types derived from ToolStrip
System.Windows.Forms (5)
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
11
public partial class MenuStrip :
ToolStrip
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStrip.cs (1)
10
internal partial class PropertyGridToolStrip :
ToolStrip
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
12
public partial class StatusStrip :
ToolStrip
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
12
public partial class ToolStripDropDown :
ToolStrip
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
14
public class BindingNavigator :
ToolStrip
, ISupportInitialize
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1628
public class TransparentToolStrip :
ToolStrip
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStripItemTests.cs (2)
15442
private class SubToolStrip :
ToolStrip
15610
private class ToolStripWithDisconnectCount :
ToolStrip
System\Windows\Forms\ToolStripTests.cs (3)
2324
private class CustomDefaultDockToolStrip :
ToolStrip
3575
private class CustomDefaultShowItemToolTipsToolStrip :
ToolStrip
7506
private class SubToolStrip :
ToolStrip
612 instantiations of ToolStrip
Accessibility_Core_App (2)
Menu_Toolbars_controls.Designer.cs (1)
91
toolStrip1 = new
ToolStrip
();
ToolStripContainer.Designer.cs (1)
34
this.toolStrip1 = new System.Windows.Forms.
ToolStrip
();
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
759
_toolStrip1 = new
ToolStrip
();
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\ToolStripActionListTests.cs (1)
26
_toolStrip =
new
();
ToolStripDesignerTests.cs (1)
18
using ToolStrip toolStrip =
new
();
System.Windows.Forms.Tests (597)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (4)
1426
using ToolStrip toolStrip =
new
();
1493
using ToolStrip toolStrip =
new
() { Size = new Drawing.Size(1000, 25) };
1527
using ToolStrip toolStrip =
new
() { Size = new Drawing.Size(1000, 25) };
1565
using ToolStrip toolStrip =
new
() { Size = new Drawing.Size(1000, 25) };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (9)
15
using ToolStrip toolStrip =
new
();
25
using ToolStrip toolStrip =
new
()
40
using ToolStrip toolStrip =
new
();
51
using ToolStrip toolStrip =
new
()
65
using ToolStrip toolStrip =
new
()
79
using ToolStrip toolStrip =
new
();
107
using ToolStrip toolStrip =
new
();
161
using ToolStrip toolStrip =
new
();
947
ToolStrip toolStrip =
new
();
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxAccessibleObjectTests.cs (1)
11
using ToolStrip toolStrip =
new
();
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxControlAccessibleObjectTests.cs (1)
92
using ToolStrip toolStrip =
new
();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (1)
69
using ToolStrip toolStrip =
new
();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripHostedControlAccessibleObjectTests.cs (1)
20
using ToolStrip toolStrip =
new
();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
74
using ToolStrip toolStrip =
new
();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObjectTests.cs (4)
26
using ToolStrip toolStrip =
new
();
55
using ToolStrip toolStrip =
new
();
101
using ToolStrip toolStrip =
new
();
190
using ToolStrip toolStrip =
new
();
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (8)
114
using ToolStrip toolStrip =
new
();
203
using ToolStrip toolStrip =
new
();
217
using ToolStrip toolStrip =
new
();
229
using ToolStrip toolStrip =
new
();
242
using ToolStrip toolStrip =
new
() { AutoSize = false, Size = new(300, 30) };
267
using ToolStrip toolStrip =
new
() { GripStyle = ToolStripGripStyle.Hidden };
283
using ToolStrip toolStrip =
new
() { AutoSize = false, Size = new(300, 30) };
310
using ToolStrip toolStrip =
new
() { AutoSize = false, Size = new(300, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (1)
198
ToolStrip toolStrip =
new
()
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (6)
14
using ToolStrip toolStrip =
new
();
25
using ToolStrip toolStrip =
new
();
38
using ToolStrip toolStrip =
new
();
67
using ToolStrip toolStrip =
new
();
82
using ToolStrip toolStrip =
new
() { AutoSize = false, Size = new(30, 30) };
107
using ToolStrip toolStrip =
new
() { AutoSize = false, Size = new(60, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (2)
102
using ToolStrip toolStrip =
new
();
119
using ToolStrip toolStrip =
new
() { Size = new Drawing.Size(500, 25) };
System\Windows\Forms\AccessibleObjects\ToolStripScrollButton.ToolStripScrollButtonAccessibleObjectTests.cs (3)
26
using ToolStrip toolStrip =
new
();
88
using ToolStrip toolStrip =
new
();
132
using ToolStrip toolStrip =
new
();
System\Windows\Forms\AccessibleObjects\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObjectTests.cs (2)
53
using ToolStrip toolStrip =
new
();
69
using ToolStrip toolStrip =
new
();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
291
{ new
ToolStrip
(), new string[] { "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\ControlTests.cs (4)
926
using ToolStrip toolStrip1 =
new
() { TabStop = true, };
927
using ToolStrip toolStrip2 =
new
() { TabStop = true, };
983
using ToolStrip toolStrip1 =
new
() { TabStop = true };
984
using ToolStrip toolStrip2 =
new
() { TabStop = true };
System\Windows\Forms\FlowLayoutSettingsTests.cs (10)
17
using ToolStrip control =
new
()
47
using ToolStrip control =
new
()
60
using ToolStrip control =
new
()
95
using ToolStrip control =
new
()
106
using ToolStrip control =
new
()
117
using ToolStrip control =
new
()
129
using ToolStrip control =
new
()
169
using ToolStrip control =
new
()
232
using ToolStrip control =
new
()
244
using ToolStrip control =
new
()
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1724
using ToolStrip control =
new
()
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (5)
162
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
172
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
258
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
269
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
298
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\MenuStripTests.cs (1)
354
using ToolStrip control =
new
()
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (8)
11
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
23
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
35
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
47
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
61
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
71
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
86
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
99
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (8)
11
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
23
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
35
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
47
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
61
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
71
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
86
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
99
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (23)
13
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
26
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
38
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
50
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
60
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
69
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
81
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
95
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
104
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
113
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
124
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
138
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
154
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
165
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
175
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
187
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
202
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
214
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
223
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
238
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
256
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
270
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
284
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (3)
27
using ToolStrip toolStrip =
new
();
43
using ToolStrip toolStrip =
new
();
75
using ToolStrip toolStrip =
new
();
System\Windows\Forms\ToolStripButtonTests.cs (11)
663
using ToolStrip owner =
new
();
691
using ToolStrip owner =
new
();
736
using ToolStrip parent =
new
();
764
using ToolStrip parent =
new
();
882
using ToolStrip owner =
new
();
903
using ToolStrip owner =
new
();
1269
using ToolStrip owner =
new
()
1360
using ToolStrip owner =
new
()
1459
using ToolStrip parent =
new
()
1503
using ToolStrip owner =
new
();
1541
using ToolStrip parent =
new
();
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (6)
15
using ToolStrip toolStrip =
new
();
41
using ToolStrip toolStrip =
new
();
67
using ToolStrip toolStrip =
new
();
93
using ToolStrip toolStrip =
new
();
119
using ToolStrip toolStrip =
new
();
146
using ToolStrip toolStrip =
new
();
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1327
using ToolStrip control =
new
()
System\Windows\Forms\ToolStripControlHostTests.cs (16)
1384
using ToolStrip parent =
new
();
1385
using ToolStrip otherParent =
new
();
1451
using ToolStrip owner =
new
();
1452
using ToolStrip parent =
new
();
1453
using ToolStrip otherParent =
new
();
1529
using ToolStrip parent =
new
();
3044
yield return new object[] { enabled, visible, image, allowDrop, null, new
ToolStrip
() };
3045
yield return new object[] { enabled, visible, image, allowDrop, new
ToolStrip
(), null };
3046
yield return new object[] { enabled, visible, image, allowDrop, new
ToolStrip
(), new
ToolStrip
() };
3075
using ToolStrip owner =
new
();
3097
using ToolStrip parent =
new
();
3098
using ToolStrip otherParent =
new
();
3166
using ToolStrip parent =
new
();
3167
using ToolStrip otherParent =
new
();
3264
using ToolStrip owner =
new
();
System\Windows\Forms\ToolStripDropDownItemTests.cs (2)
406
using ToolStrip owner =
new
()
426
using ToolStrip parent =
new
()
System\Windows\Forms\ToolStripDropDownTests.cs (2)
1489
using ToolStrip control =
new
()
1510
using ToolStrip control =
new
()
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (3)
16
yield return new object[] { null, new
ToolStrip
() };
32
yield return new object[] { graphics, new
ToolStrip
() };
35
graphics, new
ToolStrip
System\Windows\Forms\ToolStripItemCollectionTests.cs (13)
133
using ToolStrip toolStrip =
new
();
159
using ToolStrip toolStrip =
new
();
171
using ToolStrip toolStrip =
new
();
259
using ToolStrip toolStrip =
new
();
272
using ToolStrip toolStrip =
new
();
285
using ToolStrip toolStrip =
new
();
315
using ToolStrip toolStrip1 =
new
();
316
using ToolStrip toolStrip2 =
new
();
331
using ToolStrip toolStrip =
new
();
345
using ToolStrip toolStrip1 =
new
();
346
using ToolStrip toolStrip2 =
new
();
362
using ToolStrip toolStrip =
new
();
375
using ToolStrip toolStrip =
new
();
System\Windows\Forms\ToolStripItemRenderEventArgsTests.cs (1)
35
ToolStrip toolStrip =
new
();
System\Windows\Forms\ToolStripItemTests.cs (278)
393
using ToolStrip toolStrip =
new
();
404
using ToolStrip parent =
new
();
429
using ToolStrip parent =
new
();
481
using ToolStrip owner =
new
();
513
using ToolStrip owner =
new
();
585
using ToolStrip owner =
new
();
612
using ToolStrip owner =
new
();
656
using ToolStrip parent =
new
();
683
using ToolStrip parent =
new
();
727
using ToolStrip parent =
new
()
750
using ToolStrip parent =
new
();
808
using ToolStrip owner =
new
();
840
using ToolStrip parent =
new
();
892
using ToolStrip owner =
new
();
938
using ToolStrip owner =
new
();
999
using ToolStrip parent =
new
();
1037
using ToolStrip parent =
new
();
1213
using ToolStrip owner =
new
();
1256
using ToolStrip owner =
new
();
1302
using ToolStrip owner =
new
();
1351
using ToolStrip parent =
new
();
1394
using ToolStrip parent =
new
();
1428
using ToolStrip parent =
new
();
1546
using ToolStrip owner =
new
()
1560
using ToolStrip parent =
new
()
1590
using ToolStrip owner =
new
();
1610
using ToolStrip owner =
new
();
1643
using ToolStrip parent =
new
();
1669
using ToolStrip parent =
new
();
1792
using ToolStrip owner =
new
();
1812
using ToolStrip owner =
new
();
1845
using ToolStrip parent =
new
();
1873
using ToolStrip parent =
new
();
1921
using ToolStrip owner =
new
();
1941
using ToolStrip owner =
new
();
1974
using ToolStrip parent =
new
();
1998
using ToolStrip parent =
new
();
2058
using ToolStrip owner =
new
();
2069
using ToolStrip parent =
new
();
2133
using ToolStrip owner =
new
();
2174
using ToolStrip owner =
new
();
2226
using ToolStrip parent =
new
();
2250
using ToolStrip parent =
new
();
2377
using ToolStrip owner =
new
();
2410
using ToolStrip parent =
new
();
2469
using ToolStrip owner =
new
()
2491
using ToolStrip parent =
new
()
2617
using ToolStrip owner =
new
();
2644
using ToolStrip owner =
new
();
2681
using ToolStrip owner =
new
();
2709
using ToolStrip owner =
new
();
2752
using ToolStrip parent =
new
();
2779
using ToolStrip parent =
new
();
2816
using ToolStrip parent =
new
();
2856
using ToolStrip parent =
new
();
2933
using ToolStrip parent =
new
()
2951
using ToolStrip owner =
new
()
3005
using ToolStrip owner =
new
();
3046
using ToolStrip owner =
new
();
3099
using ToolStrip parent =
new
();
3133
using ToolStrip parent =
new
();
3236
using ToolStrip owner =
new
()
3250
using ToolStrip parent =
new
()
3280
using ToolStrip owner =
new
();
3300
using ToolStrip owner =
new
();
3333
using ToolStrip parent =
new
();
3362
using ToolStrip parent =
new
();
3480
using ToolStrip owner =
new
();
3516
using ToolStrip owner =
new
();
3568
using ToolStrip parent =
new
();
3614
using ToolStrip parent =
new
();
3676
using ToolStrip owner =
new
()
3696
using ToolStrip owner =
new
()
3717
using ToolStrip owner =
new
()
3742
using ToolStrip parent =
new
()
3764
using ToolStrip parent =
new
()
3898
using ToolStrip owner =
new
();
3943
using ToolStrip owner =
new
();
4001
using ToolStrip parent =
new
();
4036
using ToolStrip parent =
new
();
4104
using ToolStrip owner =
new
()
4149
using ToolStrip owner =
new
()
4197
using ToolStrip owner =
new
();
4244
using ToolStrip owner =
new
();
4296
using ToolStrip parent =
new
();
4328
using ToolStrip parent =
new
();
4455
using ToolStrip owner =
new
();
4501
using ToolStrip owner =
new
()
4549
using ToolStrip owner =
new
();
4605
using ToolStrip parent =
new
();
4644
using ToolStrip parent =
new
()
4683
using ToolStrip parent =
new
();
4786
using ToolStrip owner =
new
()
4864
using ToolStrip owner =
new
()
4955
using ToolStrip owner =
new
();
5003
using ToolStrip owner =
new
()
5049
using ToolStrip owner =
new
();
5103
using ToolStrip parent =
new
();
5140
using ToolStrip parent =
new
()
5177
using ToolStrip parent =
new
();
5285
using ToolStrip owner =
new
()
5377
using ToolStrip owner =
new
()
5424
using ToolStrip owner =
new
();
5464
using ToolStrip owner =
new
();
5516
using ToolStrip parent =
new
();
5548
using ToolStrip parent =
new
();
5647
using ToolStrip owner =
new
();
5680
using ToolStrip owner =
new
();
5714
using ToolStrip parent =
new
();
5747
using ToolStrip parent =
new
();
5812
using ToolStrip owner =
new
();
5834
using ToolStrip owner =
new
()
5850
using ToolStrip parent =
new
();
5872
using ToolStrip parent =
new
()
5916
using ToolStrip owner =
new
();
5955
using ToolStrip owner =
new
();
6007
using ToolStrip parent =
new
();
6046
using ToolStrip parent =
new
();
6248
using ToolStrip owner =
new
();
6293
using ToolStrip owner =
new
();
6349
using ToolStrip parent =
new
();
6385
using ToolStrip parent =
new
();
6441
using ToolStrip owner =
new
();
6442
using ToolStrip otherOwner =
new
();
6490
using ToolStrip owner =
new
();
6491
using ToolStrip otherOwner =
new
();
6549
using ToolStrip owner =
new
()
6580
using ToolStrip owner =
new
();
6581
using ToolStrip otherOwner =
new
();
6630
using ToolStrip owner =
new
();
6662
using ToolStrip parent =
new
();
6745
using ToolStrip owner =
new
();
6784
using ToolStrip owner =
new
();
6836
using ToolStrip parent =
new
();
6868
using ToolStrip parent =
new
();
6963
using ToolStrip parent =
new
();
6964
using ToolStrip otherParent =
new
();
7019
using ToolStrip parent =
new
();
7020
using ToolStrip otherParent =
new
();
7100
using ToolStrip owner =
new
()
7117
using ToolStrip parent =
new
()
7131
using ToolStrip owner =
new
()
7135
using ToolStrip parent =
new
()
7179
using ToolStrip owner =
new
()
7221
using ToolStrip owner =
new
()
7289
using ToolStrip parent =
new
()
7324
using ToolStrip parent =
new
()
7490
using ToolStrip owner =
new
();
7528
using ToolStrip owner =
new
();
7589
using ToolStrip parent =
new
();
7628
using ToolStrip parent =
new
();
7708
using ToolStrip owner =
new
();
7746
using ToolStrip parent =
new
();
7857
using ToolStrip owner =
new
();
7893
using ToolStrip owner =
new
();
7952
using ToolStrip parent =
new
();
7995
using ToolStrip parent =
new
();
8083
using ToolStrip owner =
new
();
8125
using ToolStrip owner =
new
();
8177
using ToolStrip parent =
new
();
8210
using ToolStrip parent =
new
();
8313
using ToolStrip owner =
new
();
8360
using ToolStrip owner =
new
();
8412
using ToolStrip parent =
new
();
8444
using ToolStrip parent =
new
();
8502
using ToolStrip owner =
new
()
8520
using ToolStrip parent =
new
()
8534
using ToolStrip owner =
new
()
8538
using ToolStrip parent =
new
()
8585
using ToolStrip owner =
new
()
8627
using ToolStrip owner =
new
()
8682
using ToolStrip parent =
new
()
8717
using ToolStrip parent =
new
()
8840
using ToolStrip owner =
new
();
8883
using ToolStrip owner =
new
();
8935
using ToolStrip parent =
new
();
8967
using ToolStrip parent =
new
();
9131
using ToolStrip owner =
new
()
9153
using ToolStrip parent =
new
()
9263
using ToolStrip owner =
new
();
9306
using ToolStrip owner =
new
();
9352
using ToolStrip owner =
new
();
9401
using ToolStrip parent =
new
();
9444
using ToolStrip parent =
new
();
9478
using ToolStrip parent =
new
();
9647
using ToolStrip owner =
new
();
9683
using ToolStrip owner =
new
();
9735
using ToolStrip parent =
new
();
9781
using ToolStrip parent =
new
();
9911
using ToolStrip owner =
new
();
9953
using ToolStrip parent =
new
();
10064
using ToolStrip owner =
new
();
10108
using ToolStrip parent =
new
();
10173
using ToolStrip parent =
new
();
10187
using ToolStrip parent =
new
()
10204
using ToolStrip owner =
new
();
10218
using ToolStrip owner =
new
()
10277
using ToolStrip parent =
new
();
10288
using ToolStrip owner =
new
();
10320
using ToolStrip owner =
new
();
10335
using ToolStrip parent =
new
();
10380
using ToolStrip owner =
new
();
10396
using ToolStrip owner =
new
();
10426
using ToolStrip parent =
new
();
10442
using ToolStrip parent =
new
();
10490
using ToolStrip owner =
new
();
10507
using ToolStrip owner =
new
();
10538
using ToolStrip parent =
new
();
10555
using ToolStrip parent =
new
();
10634
using ToolStrip owner =
new
();
10664
using ToolStrip owner =
new
();
10708
using ToolStrip parent =
new
();
10738
using ToolStrip parent =
new
();
10788
using ToolStrip owner =
new
();
10812
using ToolStrip owner =
new
();
10846
using ToolStrip parent =
new
();
10877
using ToolStrip parent =
new
();
11167
using ToolStrip owner =
new
();
11200
using ToolStrip owner =
new
();
11246
using ToolStrip parent =
new
();
11279
using ToolStrip parent =
new
();
11361
using ToolStrip owner =
new
();
11399
using ToolStrip owner =
new
();
11450
using ToolStrip parent =
new
();
11481
using ToolStrip parent =
new
();
11549
using ToolStrip owner =
new
();
11579
using ToolStrip owner =
new
();
11623
using ToolStrip parent =
new
();
11653
using ToolStrip parent =
new
();
11842
using ToolStrip owner =
new
()
11874
using ToolStrip parent =
new
()
11942
using ToolStrip owner =
new
()
11974
using ToolStrip owner =
new
()
12007
using ToolStrip parent =
new
()
12039
using ToolStrip parent =
new
()
12206
using ToolStrip owner =
new
()
12271
using ToolStrip owner =
new
();
12317
using ToolStrip owner =
new
();
12382
using ToolStrip parent =
new
();
12419
using ToolStrip parent =
new
();
12528
yield return new object[] { enabled, visible, image, allowDrop, null, new
ToolStrip
() };
12529
yield return new object[] { enabled, visible, image, allowDrop, new
ToolStrip
(), null };
12530
yield return new object[] { enabled, visible, image, allowDrop, new
ToolStrip
(), new
ToolStrip
() };
12739
using ToolStrip owner =
new
();
12789
using ToolStrip owner =
new
();
12852
using ToolStrip parent =
new
();
12895
using ToolStrip parent =
new
();
12975
using ToolStrip owner =
new
();
13025
using ToolStrip owner =
new
();
13088
using ToolStrip parent =
new
();
13131
using ToolStrip parent =
new
();
13260
using ToolStrip owner =
new
();
13304
using ToolStrip owner =
new
();
13370
using ToolStrip owner =
new
();
13436
using ToolStrip owner =
new
();
13496
using ToolStrip parent =
new
();
13540
using ToolStrip parent =
new
();
13671
using ToolStrip control =
new
();
13740
using ToolStrip owner =
new
();
13792
using ToolStrip owner =
new
();
13860
using ToolStrip parent =
new
();
13897
using ToolStrip parent =
new
();
13987
using ToolStrip parent =
new
();
14356
using ToolStrip owner =
new
();
14375
using ToolStrip owner =
new
();
14445
using ToolStrip parent =
new
();
14464
using ToolStrip parent =
new
();
14578
using ToolStrip owner =
new
();
14625
using ToolStrip owner =
new
();
14699
using ToolStrip parent =
new
();
14753
using ToolStrip parent =
new
();
14925
using ToolStrip owner =
new
();
14968
using ToolStrip owner =
new
();
15014
using ToolStrip owner =
new
();
15063
using ToolStrip parent =
new
();
15106
using ToolStrip parent =
new
();
15140
using ToolStrip parent =
new
();
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (2)
16
using ToolStrip toolStrip1 =
new
();
17
using ToolStrip toolStrip2 =
new
();
System\Windows\Forms\ToolStripPanelTests.cs (2)
346
using ToolStrip toolStrip1 =
new
();
347
using ToolStrip toolStrip2 =
new
();
System\Windows\Forms\ToolStripRendererTests.cs (4)
138
yield return new object[] { new ToolStripGripRenderEventArgs(graphics, new
ToolStrip
()) };
475
yield return new object[] { new
ToolStrip
() };
522
yield return new object[] { new ToolStripRenderEventArgs(graphics, new
ToolStrip
()) };
667
yield return new object[] { new
ToolStrip
() };
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (8)
16
yield return new object[] { null, new
ToolStrip
() };
29
yield return new object[] { new
ToolStrip
(), new Rectangle(0, 0, 100, 25), SystemColors.Control };
30
yield return new object[] { new
ToolStrip
() { BackColor = Color.Red }, new Rectangle(0, 0, 100, 25), Color.Red };
52
yield return new object[] { new
ToolStrip
(), new Rectangle(1, 2, 3, 4), Color.Empty, SystemColors.Control };
53
yield return new object[] { new
ToolStrip
() { BackColor = Color.Red }, new Rectangle(1, 2, 3, 4), Color.Empty, Color.Red };
56
yield return new object[] { new
ToolStrip
() { BackColor = Color.Red }, new Rectangle(1, 2, 3, 4), Color.Blue, Color.Blue };
76
yield return new object[] { new
ToolStrip
() };
82
ToolStrip owner =
new
();
System\Windows\Forms\ToolStripSeparatorTests.cs (15)
800
using ToolStrip owner =
new
()
848
using ToolStrip parent =
new
()
941
using ToolStrip owner =
new
();
972
using ToolStrip owner =
new
();
1016
using ToolStrip parent =
new
();
1047
using ToolStrip parent =
new
();
1130
using ToolStrip owner =
new
()
1166
using ToolStrip parent =
new
()
1217
using ToolStrip owner =
new
()
1222
using ToolStrip parent =
new
()
1288
using ToolStrip owner =
new
()
1341
using ToolStrip owner =
new
();
1342
using ToolStrip parent =
new
();
1398
using ToolStrip owner =
new
();
1521
using ToolStrip parent =
new
();
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
13
using ToolStrip toolStrip =
new
();
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (1)
16
_toolStrip =
new
();
System\Windows\Forms\ToolStripTests.cs (121)
326
Assert.Throws<ArgumentNullException>("toolStripItems", () => new
ToolStrip
(null));
332
Assert.Throws<ArgumentNullException>("value", () => new
ToolStrip
([null]));
359
using ToolStrip control =
new
()
384
using ToolStrip control =
new
();
413
using ToolStrip control =
new
();
450
using ToolStrip control =
new
();
497
using ToolStrip control =
new
();
529
using ToolStrip control =
new
();
573
using ToolStrip control =
new
()
588
using ToolStrip control =
new
()
609
using ToolStrip control =
new
();
638
using ToolStrip control =
new
();
674
using ToolStrip control =
new
()
689
using ToolStrip control =
new
()
711
using ToolStrip control =
new
();
774
using ToolStrip control =
new
();
802
using ToolStrip control =
new
();
819
using ToolStrip control =
new
();
846
using ToolStrip control =
new
();
868
using ToolStrip control =
new
()
885
using ToolStrip control =
new
();
913
using ToolStrip control =
new
()
971
using ToolStrip control =
new
()
1022
using ToolStrip control =
new
()
1067
using ToolStrip control =
new
()
1088
using ToolStrip control =
new
()
1103
using ToolStrip control =
new
()
1120
using ToolStrip control =
new
()
1137
using ToolStrip control =
new
()
1155
using ToolStrip control =
new
();
1198
using ToolStrip control =
new
();
1225
using ToolStrip control =
new
();
1273
using ToolStrip control =
new
()
1294
using ToolStrip control =
new
()
1333
using ToolStrip control =
new
()
1349
using ToolStrip control =
new
();
1391
using ToolStrip control =
new
();
1405
using ToolStrip control =
new
()
1426
using ToolStrip control =
new
()
1460
using ToolStrip control =
new
();
1504
using ToolStrip control =
new
();
1569
using ToolStrip control =
new
();
1627
using ToolStrip toolStrip1 =
new
();
1647
using ToolStrip toolStrip1 =
new
();
1748
using ToolStrip control =
new
()
1774
using ToolStrip control =
new
()
1878
using ToolStrip control =
new
()
1909
using ToolStrip control =
new
()
2014
using ToolStrip control =
new
()
2159
using ToolStrip control =
new
()
2176
using ToolStrip control =
new
();
2205
using ToolStrip control =
new
();
2221
using ToolStrip control =
new
();
2241
using ToolStrip control =
new
();
2372
using ToolStrip control =
new
()
2456
using ToolStrip control =
new
()
2562
using ToolStrip control =
new
()
2627
using ToolStrip control =
new
()
2666
using ToolStrip control =
new
();
2674
using ToolStrip control =
new
()
2690
using ToolStrip control =
new
();
2726
using ToolStrip control =
new
();
2744
using ToolStrip control =
new
();
2764
using ToolStrip control =
new
();
2794
using ToolStrip control =
new
();
2824
using ToolStrip control =
new
();
2863
using ToolStrip control =
new
();
2892
using ToolStrip control =
new
()
2920
using ToolStrip control =
new
()
2984
using ToolStrip control =
new
()
3087
using ToolStrip control =
new
()
3148
using ToolStrip control =
new
()
3187
using ToolStrip control =
new
();
3230
using ToolStrip control =
new
()
3253
using ToolStrip control =
new
();
3297
using ToolStrip control =
new
();
3340
using ToolStrip control =
new
()
3376
using ToolStrip control =
new
();
3404
using ToolStrip control =
new
();
3432
using ToolStrip control =
new
();
3439
using ToolStrip control =
new
();
3449
using ToolStrip control =
new
();
3477
using ToolStrip control =
new
();
3507
using ToolStrip control =
new
();
3528
using ToolStrip control =
new
();
3564
using ToolStrip control =
new
();
3584
using ToolStrip control =
new
()
3607
using ToolStrip control =
new
();
3631
using ToolStrip control =
new
();
3656
using ToolStrip control =
new
()
3678
using ToolStrip control =
new
();
3779
using ToolStrip control =
new
()
3821
using ToolStrip control =
new
();
3850
using ToolStrip control =
new
();
3892
using ToolStrip control =
new
();
3929
using ToolStrip control =
new
();
3972
using ToolStrip control =
new
();
4031
using ToolStrip control =
new
();
4093
using ToolStrip control =
new
();
4101
using ToolStrip control =
new
()
4169
using ToolStrip control =
new
()
4357
using ToolStrip control =
new
();
4408
using ToolStrip control =
new
()
4462
using ToolStrip control =
new
();
4778
using ToolStrip toolStrip =
new
();
4787
using ToolStrip toolStrip =
new
();
4810
using ToolStrip toolStrip =
new
() { RightToLeft = rightToLeft, TabStop = tabStop };
4831
using ToolStrip toolStrip =
new
() { RightToLeft = rightToLeft, TabStop = tabStop };
4856
using ToolStrip toolStrip =
new
() { RightToLeft = rightToLeft, TabStop = tabStop };
4877
using ToolStrip toolStrip =
new
() { RightToLeft = rightToLeft, TabStop = tabStop };
7042
using ToolStrip control =
new
();
7112
using ToolStrip otherControl =
new
();
7135
using ToolStrip otherControl =
new
();
7291
using ToolStrip toolStrip =
new
() { LayoutStyle = toolStripLayoutStyle, TabStop = tabStop, GripStyle = gripStyle };
7377
using ToolStrip toolStrip =
new
();
7390
using ToolStrip toolStrip =
new
();
7399
using ToolStrip toolStrip =
new
();
7411
using ToolStrip toolStrip =
new
();
7423
using var toolStrip = new
ToolStrip
() { AutoScrollMargin = new Size(10, 20) };
7431
using ToolStrip toolStrip =
new
();
7453
using ToolStrip toolStrip =
new
() { GripMargin = new Padding(1) };
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
15
using ToolStrip toolStrip = new
ToolStrip
TrackBarTests.cs (1)
399
using ToolStrip control =
new
()
System.Windows.Forms.UI.IntegrationTests (4)
Dpi\ToolStripItemTests.Dpi.cs (1)
37
using ToolStrip toolStrip =
new
();
DragDropTests.cs (2)
957
public ToolStrip ToolStrip =
new
();
1017
ToolStrip =
new
()
ToolStripTests.cs (1)
37
using ToolStrip toolStrip =
new
()
WinFormsControlsTest (6)
DragDrop.cs (1)
439
ToolStrip toolStrip =
new
()
ToolStripSeparatorPreferredSize.cs (1)
31
_toolStrip1 = new
ToolStrip
();
ToolStripTests.Designer.cs (4)
34
this.toolStrip1 = new System.Windows.Forms.
ToolStrip
();
43
this.toolStrip2 = new System.Windows.Forms.
ToolStrip
();
56
this.toolStrip3 = new System.Windows.Forms.
ToolStrip
();
59
this.toolStrip4 = new System.Windows.Forms.
ToolStrip
();
1081 references to ToolStrip
Accessibility_Core_App (6)
Menu_Toolbars_controls.Designer.cs (1)
650
private
ToolStrip
toolStrip1;
PrintingControls.cs (2)
61
((ToolStripButton)((
ToolStrip
)printPreviewDialog1.Controls[1]).Items[0]).Enabled = false;// disable the direct print from printpreview.as when we click that Print button PrintPage event fires again.
62
foreach (ToolStripItem item in ((
ToolStrip
)printPreviewDialog1.Controls[1]).Items)
RemainingControls.cs (2)
13
foreach (ToolStripItem item in ((
ToolStrip
)propertyGrid1.Controls[3]).Items)
23
foreach (ToolStripItem item in ((
ToolStrip
)propertyGrid2.Controls[3]).Items)
ToolStripContainer.Designer.cs (1)
618
private System.Windows.Forms.
ToolStrip
toolStrip1;
System.Windows.Forms (252)
System\Windows\Forms\Control.cs (1)
9915
if (ctl._parent is
ToolStrip
)
System\Windows\Forms\Controls\Menus\MenuTimer.cs (1)
133
internal void HandleToolStripMouseLeave(
ToolStrip
toolStrip)
System\Windows\Forms\Controls\ToolStrips\MergeHistory.cs (2)
10
public MergeHistory(
ToolStrip
mergedToolStrip)
18
public
ToolStrip
MergedToolStrip { get; }
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (7)
2270
ToolStrip
toolStrip = (
ToolStrip
)container;
2334
ToolStrip
toolStrip = (
ToolStrip
)container;
2423
internal virtual
ToolStrip
? GetToplevelOwnerToolStrip()
4075
protected static void SetItemParent(ToolStripItem item,
ToolStrip
parent)
4445
internal void SnapFocusChange(
ToolStrip
otherToolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (2)
10
private readonly
ToolStrip
_ownerToolStrip;
12
public RestoreFocusMessageFilter(
ToolStrip
ownerToolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (11)
12
public ToolStripAccessibleObject(
ToolStrip
owner) : base(owner)
17
=> this.IsOwnerHandleCreated(out
ToolStrip
? _) ? HitTest((int)x, (int)y) : null;
24
if (!this.IsOwnerHandleCreated(out
ToolStrip
? owner))
42
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.Items is null)
122
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.Items is null)
151
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || fragmentIndex < 0)
260
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.OverflowItems is null)
270
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.DisplayedItems is null)
280
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.Items is null)
325
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.Items is null)
383
if (!this.IsOwnerHandleCreated(out
ToolStrip
? _))
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (4)
683
protected override void OnParentChanged(
ToolStrip
? oldParent,
ToolStrip
? newParent)
690
= GetControlCollection(_control.ParentInternal as
ToolStrip
);
796
private static ReadOnlyControlCollection? GetControlCollection(
ToolStrip
? toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripCustomIComparer.cs (3)
6
internal class ToolStripCustomIComparer : IComparer<
ToolStrip
>
8
public int Compare(
ToolStrip
? x,
ToolStrip
? y)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (10)
635
internal
ToolStrip
? OwnerToolStrip
641
ToolStrip
? owner = _ownerItem.ParentInternal;
911
ToolStrip
? toplevelOwnerToolStrip = GetToplevelOwnerToolStrip();
1057
internal override
ToolStrip
? GetToplevelOwnerToolStrip()
1312
ToolStrip
? toplevelToolStrip = GetToplevelOwnerToolStrip();
1362
ToolStrip
? toplevel = GetToplevelOwnerToolStrip();
1668
ToolStrip
? topLevelToolStrip = GetToplevelOwnerToolStrip();
1669
ToolStrip
? parentToolStrip = OwnerItem?.ParentInternal;
1756
ToolStrip
? toolStrip = GetToplevelOwnerToolStrip();
2030
internal static ToolStripDropDown? GetFirstDropDown(
ToolStrip
start)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
127
ToolStrip
? parent = ParentInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
166
if (_owner.DropDown.AccessibilityObject is
ToolStrip
.ToolStripAccessibleObject toolStripAccessibleObject)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (4)
16
private readonly
ToolStrip
_owner;
18
public
ToolStrip
Owner => _owner;
20
public ToolStripDropTargetManager(
ToolStrip
owner)
223
if (dragEnterArgs.DropImageType > DropImageType.Invalid && _owner is
ToolStrip
toolStrip && toolStrip.IsHandleCreated)
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (2)
14
private Point _lastEndLocation =
ToolStrip
.s_invalidMouseEnter;
49
_lastEndLocation =
ToolStrip
.s_invalidMouseEnter;
System\Windows\Forms\Controls\ToolStrips\ToolStripGripRenderEventArgs.cs (1)
13
public ToolStripGripRenderEventArgs(Graphics g,
ToolStrip
toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
58
ToolStrip
toolStrip = e.ToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (16)
32
private
ToolStrip
? _parent;
33
private
ToolStrip
? _owner;
1202
ToolStrip
? parent = ParentInternal;
1405
public
ToolStrip
? Owner
1475
protected internal
ToolStrip
? Parent
1527
internal
ToolStrip
? ParentInternal
1534
ToolStrip
? oldParent = _parent;
1561
ToolStrip
? ownerToolStrip = Owner;
1612
/// Returns the parent <see cref="
ToolStrip
"/>'s renderer
2324
public
ToolStrip
? GetCurrentParent() => Parent;
2662
ToolStrip
? parent = ParentInternal;
2891
protected virtual void OnParentChanged(
ToolStrip
? oldParent,
ToolStrip
? newParent)
3178
internal void SetOwner(
ToolStrip
? newOwner)
3424
ToolStrip
? parent = ParentInternal;
3498
internal
ToolStrip
? RootToolStrip
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (9)
93
/// For <see cref="
ToolStrip
" /> hash code is unique even with child controls.
235
ToolStrip
? parent = Owner.ParentInternal;
363
if (Parent is
ToolStrip
.ToolStripAccessibleObject toolStripParent)
373
if (toolStripOverflowButtonParent.Parent is
ToolStrip
.ToolStripAccessibleObject toolStripGrandParent)
389
if (Parent is
ToolStrip
.ToolStripAccessibleObject toolStripParent)
396
if (toolStripOverflowButtonParent.Parent is
ToolStrip
.ToolStripAccessibleObject toolStripGrandParent)
412
if (Parent is
ToolStrip
.ToolStripAccessibleObject toolStripParent)
419
if (toolStripOverflowButtonParent.Parent is
ToolStrip
.ToolStripAccessibleObject toolStripGrandParent)
447
ToolStrip
? root = _ownerItem.RootToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (2)
54
protected virtual
ToolStrip
? ParentInternal => _ownerItem?.ParentInternal;
183
ToolStrip
? parent = ParentInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.ToolStripLayoutData.cs (2)
18
public ToolStripLayoutData(
ToolStrip
toolStrip)
25
public bool IsCurrent(
ToolStrip
? toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (5)
16
private readonly
ToolStrip
? _owner;
24
internal ToolStripItemCollection(
ToolStrip
? owner, bool itemsCollection)
29
internal ToolStripItemCollection(
ToolStrip
? owner, bool itemsCollection, bool isReadOnly)
36
public ToolStripItemCollection(
ToolStrip
owner, ToolStripItem[] value)
389
ToolStrip
? parent = item.ParentInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripItemRenderEventArgs.cs (1)
32
public
ToolStrip
? ToolStrip => Item.ParentInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (2)
256
ToolStrip
? parent = Parent;
271
ToolStrip
? parent = Parent;
System\Windows\Forms\Controls\ToolStrips\ToolStripLocationCancelEventHandler.cs (2)
8
/// <see cref="
ToolStrip
.OnLocationChanging"/> event for <see cref="
ToolStrip
"/>.
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (35)
16
private static WeakRefCollection<
ToolStrip
>? t_activeToolStrips;
133
internal static WeakRefCollection<
ToolStrip
> ToolStrips
149
public static
ToolStrip
? FindToolStrip(string toolStripName)
151
foreach (
ToolStrip
toolStrip in ToolStrips)
165
internal static
ToolStrip
? FindToolStrip(Form owningForm, string toolStripName)
167
ToolStrip
? result = null;
168
foreach (
ToolStrip
toolStrip in ToolStrips)
183
private static bool CanChangeSelection(
ToolStrip
start,
ToolStrip
toolStrip)
212
private static bool ChangeSelection(
ToolStrip
start,
ToolStrip
toolStrip)
295
foreach (
ToolStrip
toolStrip in ToolStrips)
325
internal static bool SelectNextToolStrip(
ToolStrip
start, bool forward)
333
ToolStrip
? wrappedControl = null;
334
ToolStrip
? nextControl = null;
344
if (ToolStrips[index] is not
ToolStrip
toolStrip ||
717
foreach (
ToolStrip
toolStrip in ToolStrips)
796
foreach (
ToolStrip
toolStrip in ToolStrips)
844
ToolStrip
? topMostToolStrip = toolStrip.GetToplevelOwnerToolStrip();
1059
internal static List<
ToolStrip
> FindMergeableToolStrips(ContainerControl? container)
1061
List<
ToolStrip
> result = [];
1064
foreach (
ToolStrip
toolStrip in ToolStrips)
1078
private static bool IsSpecialMDIStrip(
ToolStrip
toolStrip)
1084
public static bool Merge(
ToolStrip
sourceToolStrip,
ToolStrip
targetToolStrip)
1256
public static bool Merge(
ToolStrip
sourceToolStrip, string targetName)
1261
ToolStrip
? target = FindToolStrip(targetName);
1268
internal static bool RevertMergeInternal(
ToolStrip
targetToolStrip,
ToolStrip
? sourceToolStrip, bool revertMDIControls)
1304
Stack<
ToolStrip
> reApply = new();
1349
ToolStrip
mergeAgain = reApply.Pop();
1365
public static bool RevertMerge(
ToolStrip
targetToolStrip)
1371
public static bool RevertMerge(
ToolStrip
targetToolStrip,
ToolStrip
sourceToolStrip)
1378
=> FindToolStrip(targetName) is
ToolStrip
target && RevertMerge(target);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (16)
34
private List<
ToolStrip
>? _inputFilterQueue;
44
private
ToolStrip
? _toplevelToolStrip;
232
internal static
ToolStrip
? GetActiveToolStrip() => Instance.GetActiveToolStripInternal();
234
internal
ToolStrip
? GetActiveToolStripInternal()
247
private
ToolStrip
? GetCurrentTopLevelToolStrip()
251
ToolStrip
? activeToolStrip = GetActiveToolStripInternal();
270
if (Control.FromHandle(m.HWnd) is
ToolStrip
toolStrip && !toolStrip.IsDropDown)
329
ToolStrip
? activeToolStrip = GetActiveToolStripInternal();
386
internal static void SetActiveToolStrip(
ToolStrip
toolStrip, bool menuKeyPressed)
396
internal static void SetActiveToolStrip(
ToolStrip
toolStrip)
399
private void SetActiveToolStripCore(
ToolStrip
toolStrip)
434
ToolStrip
? currentActiveToolStrip = GetActiveToolStripInternal();
487
internal static void RemoveActiveToolStrip(
ToolStrip
toolStrip)
492
private void RemoveActiveToolStripCore(
ToolStrip
toolStrip)
527
ToolStrip
? activeToolStrip = GetActiveToolStrip();
587
ToolStrip
? toplevelToolStrip = GetCurrentTopLevelToolStrip();
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
30
private
ToolStrip
? _lastOwner;
375
ToolStrip
? owner = Owner;
System\Windows\Forms\Controls\ToolStrips\ToolStripNumericUpDown.ToolStripNumericUpDownControl.cs (1)
10
public
ToolStrip
? ParentToolStrip { get; private set; }
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
42
private
ToolStrip
? ParentToolStrip
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (3)
14
private readonly
ToolStrip
_parentToolStrip;
19
internal ToolStripOverflowButton(
ToolStrip
parentToolStrip)
49
internal
ToolStrip
ParentToolStrip => _parentToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (16)
416
private Point GetStartLocation(
ToolStrip
toolStripToDrag)
456
var
toolStrip = e.Control as
ToolStrip
;
538
var
toolStrip = controls[i] as
ToolStrip
;
643
var
toolStrip = controlArray[i] as
ToolStrip
;
666
private void GiveToolStripPanelFeedback(
ToolStrip
toolStripToDrag, Point screenLocation)
709
public void Join(
ToolStrip
toolStripToDrag)
714
public void Join(
ToolStrip
toolStripToDrag, int row)
741
public void Join(
ToolStrip
toolStripToDrag, int x, int y)
746
public void Join(
ToolStrip
toolStripToDrag, Point location)
770
internal void MoveControl(
ToolStrip
? toolStripToDrag, Point screenLocation)
790
private void MoveInsideContainer(
ToolStrip
toolStripToDrag, Point clientLocation)
983
private void MoveOutsideContainer(
ToolStrip
toolStripToDrag, Point screenLocation)
996
ToolStrip
draggedControl = toolStripToDrag;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelControlCollection.cs (1)
15
: base(owner, typeof(
ToolStrip
))
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (3)
18
private
ToolStrip
_wrappedToolStrip;
48
if (control is not
ToolStrip
toolStrip)
50
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(
ToolStrip
))), control.GetType().Name);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (7)
265
public bool CanMove(
ToolStrip
toolStripToDrag)
339
internal Size GetMinimumSize(
ToolStrip
toolStrip)
460
Size minSize = GetMinimumSize((
ToolStrip
)currentCell.Control);
557
Size minSize = GetMinimumSize((
ToolStrip
)currentCell.Control);
703
internal void MoveControl(
ToolStrip
movingControl, Point startClientLocation, Point endClientLocation)
708
internal void JoinRow(
ToolStrip
toolStripToDrag, Point locationToDrag)
713
internal void LeaveRow(
ToolStrip
toolStripToDrag)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (5)
80
public override bool CanMove(
ToolStrip
toolStripToDrag)
88
totalSize += Row.GetMinimumSize((
ToolStrip
)Row.ControlsInternal[i]);
139
public override void MoveControl(
ToolStrip
movingControl, Point clientStartLocation, Point clientEndLocation)
350
public override void LeaveRow(
ToolStrip
toolStripToDrag)
391
public override void JoinRow(
ToolStrip
toolStripToDrag, Point locationToDrag)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (2)
78
throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(
ToolStrip
)));
210
throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(
ToolStrip
)));
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowManager.cs (4)
19
public virtual bool CanMove(
ToolStrip
toolStripToDrag)
171
public virtual void MoveControl(
ToolStrip
movingControl, Point startClientLocation, Point endClientLocation)
176
public virtual void LeaveRow(
ToolStrip
toolStripToDrag)
180
public virtual void JoinRow(
ToolStrip
toolStripToDrag, Point locationToDrag)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (5)
82
public override bool CanMove(
ToolStrip
toolStripToDrag)
90
totalSize += Row.GetMinimumSize((
ToolStrip
)Row.ControlsInternal[i]);
141
public override void MoveControl(
ToolStrip
movingControl, Point clientStartLocation, Point clientEndLocation)
398
public override void JoinRow(
ToolStrip
toolStripToDrag, Point locationToDrag)
560
public override void LeaveRow(
ToolStrip
toolStripToDrag)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (7)
118
ToolStrip
toolStrip = e.ToolStrip;
401
ToolStrip
toolStrip = e.ToolStrip;
484
ToolStrip
toolStrip = e.ToolStrip;
834
internal override Region? GetTransparentRegion(
ToolStrip
toolStrip)
903
ToolStrip
toolStrip = e.ToolStrip;
1173
ToolStrip
toolStrip = e.ToolStrip;
1339
ToolStrip
toolStrip = e.ToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
561
internal virtual Region? GetTransparentRegion(
ToolStrip
toolStrip)
566
protected internal virtual void Initialize(
ToolStrip
toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventArgs.cs (3)
15
public ToolStripRenderEventArgs(Graphics g,
ToolStrip
toolStrip)
25
ToolStrip
toolStrip,
48
public
ToolStrip
ToolStrip { get; }
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (2)
171
ToolStrip
? parent = ParentInternal ?? Owner;
259
ToolStrip
? parent = ParentInternal ?? Owner;
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (16)
28
List<
ToolStrip
> toolStripControls = [];
31
foreach (
ToolStrip
toolStrip in toolStripControls)
50
List<
ToolStrip
> toolStripControls = [];
53
foreach (
ToolStrip
toolStrip in toolStripControls)
72
internal static string GetItemOrder(
ToolStrip
toolStrip)
101
Dictionary<string,
ToolStrip
> itemLocationHash = BuildItemOriginationHash();
116
ToolStrip
? toolStrip = ToolStripManager.FindToolStrip(_form, toolStripSettings.Name);
161
ToolStrip
? toolStrip = ToolStripManager.FindToolStrip(_form, settings.Name);
174
private static void ApplyToolStripSettings(
ToolStrip
? toolStrip, SettingsStub settings, Dictionary<string,
ToolStrip
> itemLocationHash)
198
if (!string.IsNullOrEmpty(key) && itemLocationHash.TryGetValue(key, out
ToolStrip
? value))
210
private Dictionary<string,
ToolStrip
> BuildItemOriginationHash()
212
Dictionary<string,
ToolStrip
> itemLocationHash = [];
214
List<
ToolStrip
> toolStripControls = [];
217
foreach (
ToolStrip
toolStrip in toolStripControls)
275
private string GetSettingsKey(
ToolStrip
toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
22
public SettingsStub(
ToolStrip
toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonButtonLayout.cs (1)
30
protected override
ToolStrip
? ParentInternal
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (7)
14
private readonly
ToolStrip
_owner;
16
public ToolStripSplitStackDragDropHandler(
ToolStrip
owner)
143
insertionRect = new Rectangle(_owner.Margin.Left, item.Bounds.Top, _owner.Width - (_owner.Margin.Horizontal) - 1,
ToolStrip
.s_insertionBeamWidth);
146
insertionRect = new Rectangle(_owner.Margin.Left, item.Bounds.Bottom, _owner.Width - (_owner.Margin.Horizontal) - 1,
ToolStrip
.s_insertionBeamWidth);
149
insertionRect = new Rectangle(item.Bounds.Right, _owner.Margin.Top,
ToolStrip
.s_insertionBeamWidth, _owner.Height - (_owner.Margin.Vertical) - 1);
152
insertionRect = new Rectangle(item.Bounds.Left, _owner.Margin.Top,
ToolStrip
.s_insertionBeamWidth, _owner.Height - (_owner.Margin.Vertical) - 1);
162
insertionRect.Width =
ToolStrip
.s_insertionBeamWidth;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (14)
14
internal ToolStripSplitStackLayout(
ToolStrip
owner)
33
ToolStrip
toolStrip = ToolStrip;
52
public
ToolStrip
ToolStrip { get; }
61
ToolStrip
toolStrip = ToolStrip;
111
ToolStrip
toolStrip = ToolStrip;
156
if (!(container is
ToolStrip
))
163
return
ToolStrip
.GetPreferredSizeHorizontal(container, proposedConstraints);
167
return
ToolStrip
.GetPreferredSizeVertical(container);
182
if (!(container is
ToolStrip
))
210
ToolStrip
toolStrip = ToolStrip;
356
ToolStrip
toolStrip = ToolStrip;
372
toolStripPreferredSize =
ToolStrip
.GetPreferredSizeVertical(toolStrip) - toolStrip.Padding.Size;
522
ToolStrip
toolStrip = ToolStrip;
545
ToolStrip
toolStrip = ToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
185
ToolStrip
toolStrip = e.ToolStrip;
237
ToolStrip
toolStrip = e.ToolStrip;
679
ToolStrip
? parent = item.GetCurrentParent();
System\Windows\Forms\Form.cs (3)
6170
ToolStrip
? thisToolstrip = MainMenuStrip;
6171
List<
ToolStrip
> childrenToolStrips = ToolStripManager.FindMergeableToolStrips(ActiveMdiChildInternal);
6186
foreach (
ToolStrip
sourceToolStrip in childrenToolStrips)
System\Windows\Forms\OLE\DropTarget.cs (1)
29
&& toolStripTargetManager?.Owner is
ToolStrip
toolStrip
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
22
private
ToolStrip
_toolStrip1;
System.Windows.Forms.Design (116)
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
169
newParent = control is
ToolStrip
? GetParent(control) : _toolStripContainer.ContentPanel;
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (6)
35
if (component is
ToolStrip
)
145
if (controls[0] is not
ToolStrip
control)
158
control = (
ToolStrip
)temp[0];
195
if (controls.Count == 1 && control is
ToolStrip
)
230
if (dragComponent is
ToolStrip
tool && tool.Parent != _relatedControl)
270
if (item.GetType(host) == typeof(
ToolStrip
)
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (3)
46
ToolStrip
toolStrip = _designer.Component as
ToolStrip
;
120
private static Control GetParent(ToolStripContainer container,
ToolStrip
c)
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (3)
35
internal GlyphCollection GetGlyphs(
ToolStrip
parent, GlyphCollection glyphs, Behavior.Behavior standardBehavior)
66
if (Control is
ToolStrip
miniToolStrip)
78
if (Control is
ToolStrip
miniToolStrip)
System\Windows\Forms\Design\DocumentDesigner.cs (1)
940
&& ce.Component is not
ToolStrip
System\Windows\Forms\Design\FormDocumentDesigner.cs (2)
363
if (ce.Component is
ToolStrip
&& _toolStripAdornerWindowService is null && TryGetService(out IDesignerHost _))
375
if (ce.Component is
ToolStrip
&& _toolStripAdornerWindowService is not null)
System\Windows\Forms\Design\StandardMenuStripVerb.cs (2)
55
CreateStandardToolStrip(_host, (
ToolStrip
)_designer.Component);
261
private void CreateStandardToolStrip(IDesignerHost host,
ToolStrip
tool)
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (2)
31
private
ToolStrip
ParentTool
67
ToolStrip
parent = ParentTool;
System\Windows\Forms\Design\ToolStripActionList.cs (2)
11
private readonly
ToolStrip
_toolStrip;
20
_toolStrip = (
ToolStrip
)designer.Component;
System\Windows\Forms\Design\ToolStripCodeDomSerializer.cs (1)
12
if (parent is not
ToolStrip
toolStrip)
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (2)
176
else if (typeof(
ToolStrip
).IsAssignableFrom(toolType))
349
else if (typeof(
ToolStrip
).IsAssignableFrom(toolType))
System\Windows\Forms\Design\ToolStripDesigner.cs (12)
32
private
ToolStrip
_miniToolStrip; // the toolStrip that hosts the "New Template Node" button
278
internal
ToolStrip
EditorToolStrip
409
protected
ToolStrip
ToolStrip
411
get => (
ToolStrip
)Component;
886
if (_toolStripSelected && e.Component is
ToolStrip
)
1011
ToolStrip
parent = changingItem.Owner;
1350
if (comp is
ToolStrip
)
1537
if (c is
ToolStrip
&& (c != ToolStrip))
1561
if (c is
ToolStrip
&& menu is null)
1773
if (selComp is
ToolStrip
)
1801
ToolStrip
parentToolStrip = ToolStrip;
2178
if (sender is
ToolStrip
tool && !tool.Visible)
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (6)
87
private static
ToolStrip
GetToolStripFromComponent(IComponent component)
89
ToolStrip
parent;
103
parent = component as
ToolStrip
;
193
ToolStrip
toolStrip = GetToolStripFromComponent(component);
212
private static ToolStripItemDesignerAvailability GetDesignerVisibility(
ToolStrip
toolStrip)
252
ToolStrip
toolStrip = GetToolStripFromComponent(component);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
80
get => ((
ToolStrip
)Component).Items;
System\Windows\Forms\Design\ToolStripInSituService.cs (1)
235
if (comp is
ToolStrip
)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (7)
50
ToolStrip
oldSelectionParent = oldSelection.GetCurrentParent();
51
ToolStrip
newSelectionParent = newSelection.GetCurrentParent();
395
ToolStrip
parent = null;
552
ToolStrip
parentToolStrip = itemDesigner.GetMainToolStrip();
600
ToolStrip
owner = selectedItem.Owner;
657
ToolStrip
parentToolStrip = currentDropItem.GetCurrentParent();
982
ToolStrip
parentToolStrip = itemDesigner.GetMainToolStrip();
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
58
private
ToolStrip
ParentTool
514
ToolStrip
parent = ParentTool;
System\Windows\Forms\Design\ToolStripItemDataObject.cs (2)
11
internal ToolStripItemDataObject(List<ToolStripItem> dragComponents, ToolStripItem primarySelection,
ToolStrip
owner) : base()
20
internal
ToolStrip
Owner { get; }
System\Windows\Forms\Design\ToolStripItemDesigner.cs (18)
159
ToolStrip
parent = ToolStripItem.GetCurrentParent();
175
ToolStrip
strip = ToolStripItem.Owner;
329
ToolStrip
immediateParent = ImmediateParent as
ToolStrip
;
509
internal virtual
ToolStrip
GetMainToolStrip() => ToolStripItem.Owner;
584
ToolStrip
parent = ToolStripItem.GetCurrentParent();
724
ToolStrip
parent = (
ToolStrip
)ImmediateParent;
948
ToolStrip
tool = GetMainToolStrip();
951
ToolStrip
owner = ImmediateParent as
ToolStrip
;
1065
ToolStrip
parent = (
ToolStrip
)ImmediateParent;
1068
parent = ParentComponent as
ToolStrip
;
1120
ToolStrip
parent = (
ToolStrip
)ImmediateParent;
1217
ToolStrip
parent = ImmediateParent as
ToolStrip
;
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (23)
176
ToolStrip
owner = curDesignerNode.GetCurrentParent();
299
private static ToolStripItem GetNextItem(
ToolStrip
parent, ToolStripItem startItem, ArrowDirection direction)
459
if (comp is
ToolStrip
)
606
ToolStrip
parent = null;
682
ToolStrip
parent = item.GetCurrentParent();
727
ToolStrip
parent = item.GetCurrentParent();
768
ToolStrip
parent = selectedItem.GetCurrentParent();
782
if (selectedObj is
ToolStrip
)
784
ToolStrip
parent = selectedObj as
ToolStrip
;
1097
ToolStrip
tool = primarySelection as
ToolStrip
;
1125
ToolStrip
tool = primarySelection as
ToolStrip
;
1173
else if (selectionService.PrimarySelection is
ToolStrip
)
1275
ToolStrip
mainTool = owner.GetCurrentParent();
1426
if (item.Owner is
ToolStrip
owner)
1728
ToolStrip
owner = toolStripItem.Owner;
1824
if (targetSelection is null && ctl is
ToolStrip
wb)
1858
ToolStrip
parent = item.GetCurrentParent();
1869
if (item.Owner is
ToolStrip
owner)
1958
ToolStrip
parent = item.GetCurrentParent();
2023
private void SelectItems(
ToolStrip
parent)
System\Windows\Forms\Design\ToolStripMenuItemCodeDomSerializer.cs (1)
39
ToolStrip
? parent = item.GetCurrentParent();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (7)
233
ToolStrip
mainStrip = GetMainToolStrip();
1409
internal override
ToolStrip
GetMainToolStrip()
1558
ToolStrip
main = GetMainToolStrip();
1804
ToolStrip
mainStrip = GetMainToolStrip();
1852
ToolStrip
mainStrip = GetMainToolStrip();
2062
ToolStrip
mainStrip = GetMainToolStrip();
2111
ToolStrip
mainStrip = GetMainToolStrip();
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (4)
147
=> control is
ToolStrip
;
174
if (!typeof(
ToolStrip
).IsAssignableFrom(toolType))
307
if (typeof(
ToolStrip
).IsAssignableFrom(toolType))
366
if (e.Control is not
ToolStrip
)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (7)
307
public
ToolStrip
EditorToolStrip
403
if (_component is
ToolStrip
&& SelectionService is not null)
437
ToolStrip
parent = _controlHost.GetCurrentParent();
688
if (_component is
ToolStrip
strip)
1224
if (sender is
ToolStrip
strip)
1338
if (_component is
ToolStrip
strip)
1471
if (currentItem is
ToolStrip
strip)
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\ToolStripActionListTests.cs (1)
17
private readonly
ToolStrip
_toolStrip;
ToolStripDesignerTests.cs (1)
18
using
ToolStrip
toolStrip = new();
System.Windows.Forms.Tests (688)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (4)
1426
using
ToolStrip
toolStrip = new();
1493
using
ToolStrip
toolStrip = new() { Size = new Drawing.Size(1000, 25) };
1527
using
ToolStrip
toolStrip = new() { Size = new Drawing.Size(1000, 25) };
1565
using
ToolStrip
toolStrip = new() { Size = new Drawing.Size(1000, 25) };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (46)
15
using
ToolStrip
toolStrip = new();
17
var accessibleObject = new
ToolStrip
.ToolStripAccessibleObject(toolStrip);
25
using
ToolStrip
toolStrip = new()
40
using
ToolStrip
toolStrip = new();
51
using
ToolStrip
toolStrip = new()
65
using
ToolStrip
toolStrip = new()
79
using
ToolStrip
toolStrip = new();
107
using
ToolStrip
toolStrip = new();
131
using
ToolStrip
toolStrip = CreateToolStrip(itemCount: 1, createControl: false);
142
using
ToolStrip
toolStrip = CreateToolStrip();
151
using
ToolStrip
toolStrip = CreateToolStrip();
161
using
ToolStrip
toolStrip = new();
223
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
235
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0);
262
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 1);
274
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0);
297
using
ToolStrip
toolStrip = CreateToolStrip(ToolStripGripStyle.Hidden, layout, dock, size, canOverflow: true, itemCount: 1);
320
using
ToolStrip
toolStrip = CreateToolStrip(ToolStripGripStyle.Hidden, layout, dock, size, canOverflow: false, itemCount: 3);
341
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock: null, size, canOverflow: false, itemCount: 3);
353
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 1);
369
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0);
385
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
401
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
417
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
435
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
453
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
470
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
532
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
544
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0);
555
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0);
567
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 1);
583
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0);
599
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0);
616
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
632
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
648
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
670
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
692
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
709
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2);
740
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: true, itemCount: 3);
779
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: false, itemCount: 3);
818
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: false, itemCount: 2);
854
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: false, itemCount: 3);
879
using
ToolStrip
toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: false, itemCount: 3);
937
private
ToolStrip
CreateToolStrip(
947
ToolStrip
toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxAccessibleObjectTests.cs (1)
11
using
ToolStrip
toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxControlAccessibleObjectTests.cs (1)
92
using
ToolStrip
toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (1)
69
using
ToolStrip
toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripHostedControlAccessibleObjectTests.cs (1)
20
using
ToolStrip
toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
74
using
ToolStrip
toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObjectTests.cs (4)
26
using
ToolStrip
toolStrip = new();
55
using
ToolStrip
toolStrip = new();
101
using
ToolStrip
toolStrip = new();
190
using
ToolStrip
toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (8)
114
using
ToolStrip
toolStrip = new();
203
using
ToolStrip
toolStrip = new();
217
using
ToolStrip
toolStrip = new();
229
using
ToolStrip
toolStrip = new();
242
using
ToolStrip
toolStrip = new() { AutoSize = false, Size = new(300, 30) };
267
using
ToolStrip
toolStrip = new() { GripStyle = ToolStripGripStyle.Hidden };
283
using
ToolStrip
toolStrip = new() { AutoSize = false, Size = new(300, 30) };
310
using
ToolStrip
toolStrip = new() { AutoSize = false, Size = new(300, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (6)
125
using
ToolStrip
toolStrip = CreateToolStripWithOverflow(5);
138
using
ToolStrip
toolStrip = CreateToolStripWithOverflow(5);
155
using
ToolStrip
toolStrip = CreateToolStripWithOverflow(5);
168
using
ToolStrip
toolStrip = CreateToolStripWithOverflow(5);
196
private static
ToolStrip
CreateToolStripWithOverflow(int itemCount)
198
ToolStrip
toolStrip = new()
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (6)
14
using
ToolStrip
toolStrip = new();
25
using
ToolStrip
toolStrip = new();
38
using
ToolStrip
toolStrip = new();
67
using
ToolStrip
toolStrip = new();
82
using
ToolStrip
toolStrip = new() { AutoSize = false, Size = new(30, 30) };
107
using
ToolStrip
toolStrip = new() { AutoSize = false, Size = new(60, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (2)
102
using
ToolStrip
toolStrip = new();
119
using
ToolStrip
toolStrip = new() { Size = new Drawing.Size(500, 25) };
System\Windows\Forms\AccessibleObjects\ToolStripScrollButton.ToolStripScrollButtonAccessibleObjectTests.cs (3)
26
using
ToolStrip
toolStrip = new();
88
using
ToolStrip
toolStrip = new();
132
using
ToolStrip
toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObjectTests.cs (2)
53
using
ToolStrip
toolStrip = new();
69
using
ToolStrip
toolStrip = new();
System\Windows\Forms\ControlTests.cs (6)
926
using
ToolStrip
toolStrip1 = new() { TabStop = true, };
927
using
ToolStrip
toolStrip2 = new() { TabStop = true, };
954
form.Controls.AddRange(new
ToolStrip
[] { toolStrip1, toolStrip2 });
983
using
ToolStrip
toolStrip1 = new() { TabStop = true };
984
using
ToolStrip
toolStrip2 = new() { TabStop = true };
1011
form.Controls.AddRange(new
ToolStrip
[] { toolStrip1, toolStrip2 });
System\Windows\Forms\FlowLayoutSettingsTests.cs (10)
17
using
ToolStrip
control = new()
47
using
ToolStrip
control = new()
60
using
ToolStrip
control = new()
95
using
ToolStrip
control = new()
106
using
ToolStrip
control = new()
117
using
ToolStrip
control = new()
129
using
ToolStrip
control = new()
169
using
ToolStrip
control = new()
232
using
ToolStrip
control = new()
244
using
ToolStrip
control = new()
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1724
using
ToolStrip
control = new()
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (5)
162
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
172
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
258
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
269
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
298
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\MenuStripTests.cs (5)
354
using
ToolStrip
control = new()
413
ToolStrip
.ToolStripAccessibleObject instance = Assert.IsAssignableFrom<
ToolStrip
.ToolStripAccessibleObject>(control.CreateAccessibilityInstance());
428
ToolStrip
.ToolStripAccessibleObject instance = Assert.IsAssignableFrom<
ToolStrip
.ToolStripAccessibleObject>(control.CreateAccessibilityInstance());
System\Windows\Forms\PropertyGridTests.cs (10)
291
Assert.Equal(expected, control.Controls.OfType<
ToolStrip
>().Single().BackColor);
297
Assert.Equal(expected, control.Controls.OfType<
ToolStrip
>().Single().BackColor);
322
Assert.Equal(expected, control.Controls.OfType<
ToolStrip
>().Single().BackColor);
331
Assert.Equal(expected, control.Controls.OfType<
ToolStrip
>().Single().BackColor);
3100
Assert.Equal(visible && value, control.Controls.OfType<
ToolStrip
>().Single().Visible);
3108
Assert.Equal(visible && value, control.Controls.OfType<
ToolStrip
>().Single().Visible);
3116
Assert.Equal(visible && !value, control.Controls.OfType<
ToolStrip
>().Single().Visible);
3146
Assert.Equal(visible && value, control.Controls.OfType<
ToolStrip
>().Single().Visible);
3157
Assert.Equal(visible && value, control.Controls.OfType<
ToolStrip
>().Single().Visible);
3168
Assert.Equal(visible && !value, control.Controls.OfType<
ToolStrip
>().Single().Visible);
System\Windows\Forms\StatusStripTests.cs (2)
549
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(StatusStrip))[nameof(
ToolStrip
.RenderMode)];
577
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(StatusStrip))[nameof(
ToolStrip
.RenderMode)];
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (8)
11
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
23
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
35
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
47
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
61
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
71
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
86
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
99
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (8)
11
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
23
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
35
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
47
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
61
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
71
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
86
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
99
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (23)
13
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
26
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
38
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
50
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
60
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
69
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
81
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
95
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
104
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
113
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
124
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
138
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
154
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
165
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
175
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
187
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
202
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
214
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
223
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
238
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
256
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
270
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
284
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (4)
17
Type type = typeof(
ToolStrip
)
27
using
ToolStrip
toolStrip = new();
43
using
ToolStrip
toolStrip = new();
75
using
ToolStrip
toolStrip = new();
System\Windows\Forms\ToolStripButtonTests.cs (12)
663
using
ToolStrip
owner = new();
691
using
ToolStrip
owner = new();
736
using
ToolStrip
parent = new();
764
using
ToolStrip
parent = new();
882
using
ToolStrip
owner = new();
903
using
ToolStrip
owner = new();
1269
using
ToolStrip
owner = new()
1360
using
ToolStrip
owner = new()
1459
using
ToolStrip
parent = new()
1503
using
ToolStrip
owner = new();
1541
using
ToolStrip
parent = new();
1738
public new
ToolStrip
Parent
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (6)
15
using
ToolStrip
toolStrip = new();
41
using
ToolStrip
toolStrip = new();
67
using
ToolStrip
toolStrip = new();
93
using
ToolStrip
toolStrip = new();
119
using
ToolStrip
toolStrip = new();
146
using
ToolStrip
toolStrip = new();
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1327
using
ToolStrip
control = new()
System\Windows\Forms\ToolStripControlHostTests.cs (23)
1384
using
ToolStrip
parent = new();
1385
using
ToolStrip
otherParent = new();
1451
using
ToolStrip
owner = new();
1452
using
ToolStrip
parent = new();
1453
using
ToolStrip
otherParent = new();
1529
using
ToolStrip
parent = new();
3055
public void ToolStripControlHost_OnParentChanged_Invoke_Success(bool enabled, bool visible, Image image, bool allowDrop,
ToolStrip
oldParent,
ToolStrip
newParent)
3073
public void ToolStripControlHost_OnParentChanged_InvokeWithOwner_Success(bool enabled, bool visible, Image image, bool allowDrop,
ToolStrip
oldParent,
ToolStrip
newParent)
3075
using
ToolStrip
owner = new();
3097
using
ToolStrip
parent = new();
3098
using
ToolStrip
otherParent = new();
3166
using
ToolStrip
parent = new();
3167
using
ToolStrip
otherParent = new();
3242
public void ToolStripControlHost_OnParentChanged_InvokeDisposed_Success(bool enabled, bool visible, Image image, bool allowDrop,
ToolStrip
oldParent,
ToolStrip
newParent)
3262
public void ToolStripControlHost_OnParentChanged_InvokeDisposedWithOwner_Success(bool enabled, bool visible, Image image, bool allowDrop,
ToolStrip
oldParent,
ToolStrip
newParent)
3264
using
ToolStrip
owner = new();
4657
public new
ToolStrip
Parent
4691
public new void OnParentChanged(
ToolStrip
oldParent,
ToolStrip
newParent) => base.OnParentChanged(oldParent, newParent);
System\Windows\Forms\ToolStripCustomIComparerTests.cs (8)
11
[InlineData(null, typeof(
ToolStrip
), -1)]
12
[InlineData(typeof(
ToolStrip
), null, 1)]
13
[InlineData(typeof(
ToolStrip
), typeof(
ToolStrip
), 0)]
14
[InlineData(typeof(
ToolStrip
), typeof(ToolStripDropDown), 1)]
15
[InlineData(typeof(ToolStripDropDown), typeof(
ToolStrip
), -1)]
20
int result = _comparer.Compare((
ToolStrip
)obj1, (
ToolStrip
)obj2);
System\Windows\Forms\ToolStripDropDownItemTests.cs (3)
406
using
ToolStrip
owner = new()
426
using
ToolStrip
parent = new()
527
public new
ToolStrip
Parent
System\Windows\Forms\ToolStripDropDownTests.cs (6)
1431
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ToolStrip
))[nameof(
ToolStrip
.DefaultDropDownDirection)];
1447
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ToolStrip
))[nameof(
ToolStrip
.DefaultDropDownDirection)];
1489
using
ToolStrip
control = new()
1510
using
ToolStrip
control = new()
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (2)
22
public void ToolStripGripRenderEventArgs_Null_Graphics_ToolStrip_ThrowsArgumentNullException(Graphics g,
ToolStrip
toolStrip)
45
public void Ctor_Graphics_ToolStrip(Graphics g,
ToolStrip
toolStrip)
System\Windows\Forms\ToolStripItemCollectionTests.cs (13)
133
using
ToolStrip
toolStrip = new();
159
using
ToolStrip
toolStrip = new();
171
using
ToolStrip
toolStrip = new();
259
using
ToolStrip
toolStrip = new();
272
using
ToolStrip
toolStrip = new();
285
using
ToolStrip
toolStrip = new();
315
using
ToolStrip
toolStrip1 = new();
316
using
ToolStrip
toolStrip2 = new();
331
using
ToolStrip
toolStrip = new();
345
using
ToolStrip
toolStrip1 = new();
346
using
ToolStrip
toolStrip2 = new();
362
using
ToolStrip
toolStrip = new();
375
using
ToolStrip
toolStrip = new();
System\Windows\Forms\ToolStripItemRenderEventArgsTests.cs (2)
35
ToolStrip
toolStrip = new();
43
public void Ctor_Graphics_ToolStripItem(Graphics g, ToolStripItem item,
ToolStrip
expectedToolStrip)
System\Windows\Forms\ToolStripItemTests.cs (279)
393
using
ToolStrip
toolStrip = new();
404
using
ToolStrip
parent = new();
429
using
ToolStrip
parent = new();
481
using
ToolStrip
owner = new();
513
using
ToolStrip
owner = new();
585
using
ToolStrip
owner = new();
612
using
ToolStrip
owner = new();
656
using
ToolStrip
parent = new();
683
using
ToolStrip
parent = new();
727
using
ToolStrip
parent = new()
750
using
ToolStrip
parent = new();
808
using
ToolStrip
owner = new();
840
using
ToolStrip
parent = new();
892
using
ToolStrip
owner = new();
938
using
ToolStrip
owner = new();
999
using
ToolStrip
parent = new();
1037
using
ToolStrip
parent = new();
1213
using
ToolStrip
owner = new();
1256
using
ToolStrip
owner = new();
1302
using
ToolStrip
owner = new();
1351
using
ToolStrip
parent = new();
1394
using
ToolStrip
parent = new();
1428
using
ToolStrip
parent = new();
1546
using
ToolStrip
owner = new()
1560
using
ToolStrip
parent = new()
1590
using
ToolStrip
owner = new();
1610
using
ToolStrip
owner = new();
1643
using
ToolStrip
parent = new();
1669
using
ToolStrip
parent = new();
1792
using
ToolStrip
owner = new();
1812
using
ToolStrip
owner = new();
1845
using
ToolStrip
parent = new();
1873
using
ToolStrip
parent = new();
1921
using
ToolStrip
owner = new();
1941
using
ToolStrip
owner = new();
1974
using
ToolStrip
parent = new();
1998
using
ToolStrip
parent = new();
2058
using
ToolStrip
owner = new();
2069
using
ToolStrip
parent = new();
2133
using
ToolStrip
owner = new();
2174
using
ToolStrip
owner = new();
2226
using
ToolStrip
parent = new();
2250
using
ToolStrip
parent = new();
2377
using
ToolStrip
owner = new();
2410
using
ToolStrip
parent = new();
2469
using
ToolStrip
owner = new()
2491
using
ToolStrip
parent = new()
2617
using
ToolStrip
owner = new();
2644
using
ToolStrip
owner = new();
2681
using
ToolStrip
owner = new();
2709
using
ToolStrip
owner = new();
2752
using
ToolStrip
parent = new();
2779
using
ToolStrip
parent = new();
2816
using
ToolStrip
parent = new();
2856
using
ToolStrip
parent = new();
2933
using
ToolStrip
parent = new()
2951
using
ToolStrip
owner = new()
3005
using
ToolStrip
owner = new();
3046
using
ToolStrip
owner = new();
3099
using
ToolStrip
parent = new();
3133
using
ToolStrip
parent = new();
3236
using
ToolStrip
owner = new()
3250
using
ToolStrip
parent = new()
3280
using
ToolStrip
owner = new();
3300
using
ToolStrip
owner = new();
3333
using
ToolStrip
parent = new();
3362
using
ToolStrip
parent = new();
3480
using
ToolStrip
owner = new();
3516
using
ToolStrip
owner = new();
3568
using
ToolStrip
parent = new();
3614
using
ToolStrip
parent = new();
3676
using
ToolStrip
owner = new()
3696
using
ToolStrip
owner = new()
3717
using
ToolStrip
owner = new()
3742
using
ToolStrip
parent = new()
3764
using
ToolStrip
parent = new()
3898
using
ToolStrip
owner = new();
3943
using
ToolStrip
owner = new();
4001
using
ToolStrip
parent = new();
4036
using
ToolStrip
parent = new();
4104
using
ToolStrip
owner = new()
4149
using
ToolStrip
owner = new()
4197
using
ToolStrip
owner = new();
4244
using
ToolStrip
owner = new();
4296
using
ToolStrip
parent = new();
4328
using
ToolStrip
parent = new();
4455
using
ToolStrip
owner = new();
4501
using
ToolStrip
owner = new()
4549
using
ToolStrip
owner = new();
4605
using
ToolStrip
parent = new();
4644
using
ToolStrip
parent = new()
4683
using
ToolStrip
parent = new();
4786
using
ToolStrip
owner = new()
4864
using
ToolStrip
owner = new()
4955
using
ToolStrip
owner = new();
5003
using
ToolStrip
owner = new()
5049
using
ToolStrip
owner = new();
5103
using
ToolStrip
parent = new();
5140
using
ToolStrip
parent = new()
5177
using
ToolStrip
parent = new();
5285
using
ToolStrip
owner = new()
5377
using
ToolStrip
owner = new()
5424
using
ToolStrip
owner = new();
5464
using
ToolStrip
owner = new();
5516
using
ToolStrip
parent = new();
5548
using
ToolStrip
parent = new();
5647
using
ToolStrip
owner = new();
5680
using
ToolStrip
owner = new();
5714
using
ToolStrip
parent = new();
5747
using
ToolStrip
parent = new();
5812
using
ToolStrip
owner = new();
5834
using
ToolStrip
owner = new()
5850
using
ToolStrip
parent = new();
5872
using
ToolStrip
parent = new()
5916
using
ToolStrip
owner = new();
5955
using
ToolStrip
owner = new();
6007
using
ToolStrip
parent = new();
6046
using
ToolStrip
parent = new();
6248
using
ToolStrip
owner = new();
6293
using
ToolStrip
owner = new();
6349
using
ToolStrip
parent = new();
6385
using
ToolStrip
parent = new();
6441
using
ToolStrip
owner = new();
6442
using
ToolStrip
otherOwner = new();
6490
using
ToolStrip
owner = new();
6491
using
ToolStrip
otherOwner = new();
6549
using
ToolStrip
owner = new()
6580
using
ToolStrip
owner = new();
6581
using
ToolStrip
otherOwner = new();
6630
using
ToolStrip
owner = new();
6662
using
ToolStrip
parent = new();
6745
using
ToolStrip
owner = new();
6784
using
ToolStrip
owner = new();
6836
using
ToolStrip
parent = new();
6868
using
ToolStrip
parent = new();
6963
using
ToolStrip
parent = new();
6964
using
ToolStrip
otherParent = new();
7019
using
ToolStrip
parent = new();
7020
using
ToolStrip
otherParent = new();
7100
using
ToolStrip
owner = new()
7117
using
ToolStrip
parent = new()
7131
using
ToolStrip
owner = new()
7135
using
ToolStrip
parent = new()
7179
using
ToolStrip
owner = new()
7221
using
ToolStrip
owner = new()
7289
using
ToolStrip
parent = new()
7324
using
ToolStrip
parent = new()
7490
using
ToolStrip
owner = new();
7528
using
ToolStrip
owner = new();
7589
using
ToolStrip
parent = new();
7628
using
ToolStrip
parent = new();
7708
using
ToolStrip
owner = new();
7746
using
ToolStrip
parent = new();
7857
using
ToolStrip
owner = new();
7893
using
ToolStrip
owner = new();
7952
using
ToolStrip
parent = new();
7995
using
ToolStrip
parent = new();
8083
using
ToolStrip
owner = new();
8125
using
ToolStrip
owner = new();
8177
using
ToolStrip
parent = new();
8210
using
ToolStrip
parent = new();
8313
using
ToolStrip
owner = new();
8360
using
ToolStrip
owner = new();
8412
using
ToolStrip
parent = new();
8444
using
ToolStrip
parent = new();
8502
using
ToolStrip
owner = new()
8520
using
ToolStrip
parent = new()
8534
using
ToolStrip
owner = new()
8538
using
ToolStrip
parent = new()
8585
using
ToolStrip
owner = new()
8627
using
ToolStrip
owner = new()
8682
using
ToolStrip
parent = new()
8717
using
ToolStrip
parent = new()
8840
using
ToolStrip
owner = new();
8883
using
ToolStrip
owner = new();
8935
using
ToolStrip
parent = new();
8967
using
ToolStrip
parent = new();
9131
using
ToolStrip
owner = new()
9153
using
ToolStrip
parent = new()
9263
using
ToolStrip
owner = new();
9306
using
ToolStrip
owner = new();
9352
using
ToolStrip
owner = new();
9401
using
ToolStrip
parent = new();
9444
using
ToolStrip
parent = new();
9478
using
ToolStrip
parent = new();
9647
using
ToolStrip
owner = new();
9683
using
ToolStrip
owner = new();
9735
using
ToolStrip
parent = new();
9781
using
ToolStrip
parent = new();
9911
using
ToolStrip
owner = new();
9953
using
ToolStrip
parent = new();
10064
using
ToolStrip
owner = new();
10108
using
ToolStrip
parent = new();
10173
using
ToolStrip
parent = new();
10187
using
ToolStrip
parent = new()
10204
using
ToolStrip
owner = new();
10218
using
ToolStrip
owner = new()
10277
using
ToolStrip
parent = new();
10288
using
ToolStrip
owner = new();
10320
using
ToolStrip
owner = new();
10335
using
ToolStrip
parent = new();
10380
using
ToolStrip
owner = new();
10396
using
ToolStrip
owner = new();
10426
using
ToolStrip
parent = new();
10442
using
ToolStrip
parent = new();
10490
using
ToolStrip
owner = new();
10507
using
ToolStrip
owner = new();
10538
using
ToolStrip
parent = new();
10555
using
ToolStrip
parent = new();
10634
using
ToolStrip
owner = new();
10664
using
ToolStrip
owner = new();
10708
using
ToolStrip
parent = new();
10738
using
ToolStrip
parent = new();
10788
using
ToolStrip
owner = new();
10812
using
ToolStrip
owner = new();
10846
using
ToolStrip
parent = new();
10877
using
ToolStrip
parent = new();
11167
using
ToolStrip
owner = new();
11200
using
ToolStrip
owner = new();
11246
using
ToolStrip
parent = new();
11279
using
ToolStrip
parent = new();
11361
using
ToolStrip
owner = new();
11399
using
ToolStrip
owner = new();
11450
using
ToolStrip
parent = new();
11481
using
ToolStrip
parent = new();
11549
using
ToolStrip
owner = new();
11579
using
ToolStrip
owner = new();
11623
using
ToolStrip
parent = new();
11653
using
ToolStrip
parent = new();
11842
using
ToolStrip
owner = new()
11874
using
ToolStrip
parent = new()
11942
using
ToolStrip
owner = new()
11974
using
ToolStrip
owner = new()
12007
using
ToolStrip
parent = new()
12039
using
ToolStrip
parent = new()
12206
using
ToolStrip
owner = new()
12271
using
ToolStrip
owner = new();
12317
using
ToolStrip
owner = new();
12382
using
ToolStrip
parent = new();
12419
using
ToolStrip
parent = new();
12539
public void ToolStripItem_OnParentChanged_Invoke_Success(bool enabled, bool visible, Image image, bool allowDrop,
ToolStrip
oldParent,
ToolStrip
newParent)
12739
using
ToolStrip
owner = new();
12789
using
ToolStrip
owner = new();
12852
using
ToolStrip
parent = new();
12895
using
ToolStrip
parent = new();
12975
using
ToolStrip
owner = new();
13025
using
ToolStrip
owner = new();
13088
using
ToolStrip
parent = new();
13131
using
ToolStrip
parent = new();
13260
using
ToolStrip
owner = new();
13304
using
ToolStrip
owner = new();
13370
using
ToolStrip
owner = new();
13436
using
ToolStrip
owner = new();
13496
using
ToolStrip
parent = new();
13540
using
ToolStrip
parent = new();
13671
using
ToolStrip
control = new();
13740
using
ToolStrip
owner = new();
13792
using
ToolStrip
owner = new();
13860
using
ToolStrip
parent = new();
13897
using
ToolStrip
parent = new();
13987
using
ToolStrip
parent = new();
14356
using
ToolStrip
owner = new();
14375
using
ToolStrip
owner = new();
14445
using
ToolStrip
parent = new();
14464
using
ToolStrip
parent = new();
14578
using
ToolStrip
owner = new();
14625
using
ToolStrip
owner = new();
14699
using
ToolStrip
parent = new();
14753
using
ToolStrip
parent = new();
14925
using
ToolStrip
owner = new();
14968
using
ToolStrip
owner = new();
15014
using
ToolStrip
owner = new();
15063
using
ToolStrip
parent = new();
15106
using
ToolStrip
parent = new();
15140
using
ToolStrip
parent = new();
15515
public new
ToolStrip
Parent
15583
public new void OnParentChanged(
ToolStrip
oldParent,
ToolStrip
newParent) => base.OnParentChanged(oldParent, newParent);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
447
public new
ToolStrip
Parent
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (2)
16
using
ToolStrip
toolStrip1 = new();
17
using
ToolStrip
toolStrip2 = new();
System\Windows\Forms\ToolStripPanelTests.cs (2)
346
using
ToolStrip
toolStrip1 = new();
347
using
ToolStrip
toolStrip2 = new();
System\Windows\Forms\ToolStripRendererTests.cs (4)
483
public void ToolStripRenderer_DrawStatusStripSizingGrip_Invoke_CallsRenderStatusStripSizingGrip(
ToolStrip
toolStrip)
672
public void ToolStripRenderer_Initialize_Invoke_Nop(
ToolStrip
toolStrip)
916
public void ToolStripRenderer_OnRenderStatusStripSizingGrip_Invoke_Nop(
ToolStrip
toolStrip)
1023
public new void Initialize(
ToolStrip
toolStrip) => base.Initialize(toolStrip);
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (5)
22
public void ToolStripRenderEventArgs_Null_Graphics_ToolStrip_ThrowsArgumentNullException(Graphics g,
ToolStrip
toolStrip)
37
public void ToolStripRenderEventArgs_Ctor_Graphics_ToolStrip(
ToolStrip
toolStrip, Rectangle expectedAffectedBounds, Color expectedBackColor)
61
public void ToolStripRenderEventArgs_Ctor_Graphics_ToolStrip_Rectangle_Color(
ToolStrip
toolStrip, Rectangle affectedBounds, Color backColor, Color expectedBackColor)
82
ToolStrip
owner = new();
90
public void ToolStripRenderEventArgs_ConnectedArea_Get_ReturnsEmpty(
ToolStrip
toolStrip)
System\Windows\Forms\ToolStripSeparatorTests.cs (16)
800
using
ToolStrip
owner = new()
848
using
ToolStrip
parent = new()
941
using
ToolStrip
owner = new();
972
using
ToolStrip
owner = new();
1016
using
ToolStrip
parent = new();
1047
using
ToolStrip
parent = new();
1130
using
ToolStrip
owner = new()
1166
using
ToolStrip
parent = new()
1217
using
ToolStrip
owner = new()
1222
using
ToolStrip
parent = new()
1288
using
ToolStrip
owner = new()
1341
using
ToolStrip
owner = new();
1342
using
ToolStrip
parent = new();
1398
using
ToolStrip
owner = new();
1521
using
ToolStrip
parent = new();
1649
public new
ToolStrip
Parent
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
13
using
ToolStrip
toolStrip = new();
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (1)
12
private readonly
ToolStrip
_toolStrip;
System\Windows\Forms\ToolStripTests.cs (131)
359
using
ToolStrip
control = new()
384
using
ToolStrip
control = new();
413
using
ToolStrip
control = new();
450
using
ToolStrip
control = new();
497
using
ToolStrip
control = new();
529
using
ToolStrip
control = new();
573
using
ToolStrip
control = new()
588
using
ToolStrip
control = new()
609
using
ToolStrip
control = new();
638
using
ToolStrip
control = new();
674
using
ToolStrip
control = new()
689
using
ToolStrip
control = new()
711
using
ToolStrip
control = new();
774
using
ToolStrip
control = new();
802
using
ToolStrip
control = new();
819
using
ToolStrip
control = new();
846
using
ToolStrip
control = new();
868
using
ToolStrip
control = new()
885
using
ToolStrip
control = new();
913
using
ToolStrip
control = new()
971
using
ToolStrip
control = new()
1022
using
ToolStrip
control = new()
1067
using
ToolStrip
control = new()
1088
using
ToolStrip
control = new()
1103
using
ToolStrip
control = new()
1120
using
ToolStrip
control = new()
1137
using
ToolStrip
control = new()
1155
using
ToolStrip
control = new();
1198
using
ToolStrip
control = new();
1225
using
ToolStrip
control = new();
1273
using
ToolStrip
control = new()
1294
using
ToolStrip
control = new()
1333
using
ToolStrip
control = new()
1349
using
ToolStrip
control = new();
1391
using
ToolStrip
control = new();
1405
using
ToolStrip
control = new()
1426
using
ToolStrip
control = new()
1460
using
ToolStrip
control = new();
1504
using
ToolStrip
control = new();
1569
using
ToolStrip
control = new();
1627
using
ToolStrip
toolStrip1 = new();
1647
using
ToolStrip
toolStrip1 = new();
1748
using
ToolStrip
control = new()
1774
using
ToolStrip
control = new()
1878
using
ToolStrip
control = new()
1909
using
ToolStrip
control = new()
2014
using
ToolStrip
control = new()
2159
using
ToolStrip
control = new()
2176
using
ToolStrip
control = new();
2204
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ToolStrip
))[nameof(
ToolStrip
.DefaultDropDownDirection)];
2205
using
ToolStrip
control = new();
2220
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ToolStrip
))[nameof(
ToolStrip
.DefaultDropDownDirection)];
2221
using
ToolStrip
control = new();
2241
using
ToolStrip
control = new();
2372
using
ToolStrip
control = new()
2456
using
ToolStrip
control = new()
2562
using
ToolStrip
control = new()
2627
using
ToolStrip
control = new()
2666
using
ToolStrip
control = new();
2674
using
ToolStrip
control = new()
2690
using
ToolStrip
control = new();
2726
using
ToolStrip
control = new();
2744
using
ToolStrip
control = new();
2764
using
ToolStrip
control = new();
2794
using
ToolStrip
control = new();
2824
using
ToolStrip
control = new();
2863
using
ToolStrip
control = new();
2892
using
ToolStrip
control = new()
2920
using
ToolStrip
control = new()
2984
using
ToolStrip
control = new()
3087
using
ToolStrip
control = new()
3148
using
ToolStrip
control = new()
3187
using
ToolStrip
control = new();
3230
using
ToolStrip
control = new()
3253
using
ToolStrip
control = new();
3297
using
ToolStrip
control = new();
3340
using
ToolStrip
control = new()
3375
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ToolStrip
))[nameof(
ToolStrip
.RenderMode)];
3376
using
ToolStrip
control = new();
3403
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ToolStrip
))[nameof(
ToolStrip
.RenderMode)];
3404
using
ToolStrip
control = new();
3432
using
ToolStrip
control = new();
3439
using
ToolStrip
control = new();
3449
using
ToolStrip
control = new();
3477
using
ToolStrip
control = new();
3507
using
ToolStrip
control = new();
3528
using
ToolStrip
control = new();
3564
using
ToolStrip
control = new();
3584
using
ToolStrip
control = new()
3607
using
ToolStrip
control = new();
3631
using
ToolStrip
control = new();
3656
using
ToolStrip
control = new()
3678
using
ToolStrip
control = new();
3779
using
ToolStrip
control = new()
3821
using
ToolStrip
control = new();
3850
using
ToolStrip
control = new();
3892
using
ToolStrip
control = new();
3929
using
ToolStrip
control = new();
3972
using
ToolStrip
control = new();
4031
using
ToolStrip
control = new();
4093
using
ToolStrip
control = new();
4101
using
ToolStrip
control = new()
4169
using
ToolStrip
control = new()
4208
ToolStrip
.ToolStripAccessibleObject instance = Assert.IsType<
ToolStrip
.ToolStripAccessibleObject>(control.CreateAccessibilityInstance());
4223
ToolStrip
.ToolStripAccessibleObject instance = Assert.IsType<
ToolStrip
.ToolStripAccessibleObject>(control.CreateAccessibilityInstance());
4357
using
ToolStrip
control = new();
4408
using
ToolStrip
control = new()
4462
using
ToolStrip
control = new();
4778
using
ToolStrip
toolStrip = new();
4787
using
ToolStrip
toolStrip = new();
4810
using
ToolStrip
toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop };
4831
using
ToolStrip
toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop };
4856
using
ToolStrip
toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop };
4877
using
ToolStrip
toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop };
7042
using
ToolStrip
control = new();
7112
using
ToolStrip
otherControl = new();
7135
using
ToolStrip
otherControl = new();
7291
using
ToolStrip
toolStrip = new() { LayoutStyle = toolStripLayoutStyle, TabStop = tabStop, GripStyle = gripStyle };
7377
using
ToolStrip
toolStrip = new();
7390
using
ToolStrip
toolStrip = new();
7399
using
ToolStrip
toolStrip = new();
7411
using
ToolStrip
toolStrip = new();
7423
using
var
toolStrip = new ToolStrip() { AutoScrollMargin = new Size(10, 20) };
7431
using
ToolStrip
toolStrip = new();
7453
using
ToolStrip
toolStrip = new() { GripMargin = new Padding(1) };
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
15
using
ToolStrip
toolStrip = new ToolStrip
TrackBarTests.cs (1)
399
using
ToolStrip
control = new()
System.Windows.Forms.UI.IntegrationTests (3)
Dpi\ToolStripItemTests.Dpi.cs (1)
37
using
ToolStrip
toolStrip = new();
DragDropTests.cs (1)
957
public
ToolStrip
ToolStrip = new();
ToolStripTests.cs (1)
37
using
ToolStrip
toolStrip = new()
WinFormsControlsTest (14)
Dialogs.cs (4)
55
ToolStrip
toolbar = GetToolbar();
68
private
ToolStrip
GetToolbar()
72
ToolStrip
? toolStrip = control as
ToolStrip
;
DragDrop.cs (1)
439
ToolStrip
toolStrip = new()
MessageBoxes.cs (4)
41
ToolStrip
toolbar = GetToolbar();
48
private
ToolStrip
GetToolbar()
52
ToolStrip
? toolStrip = control as
ToolStrip
;
ToolStripSeparatorPreferredSize.cs (1)
99
private
ToolStrip
_toolStrip1;
ToolStripTests.Designer.cs (4)
463
private System.Windows.Forms.
ToolStrip
toolStrip1;
473
private System.Windows.Forms.
ToolStrip
toolStrip2;
474
private System.Windows.Forms.
ToolStrip
toolStrip3;
475
private System.Windows.Forms.
ToolStrip
toolStrip4;