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)
13
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)
15462
private class SubToolStrip :
ToolStrip
15630
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
598 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 (1)
ToolStripDesignerTests.cs (1)
18
using ToolStrip toolStrip =
new
();
System.Windows.Forms.Tests (584)
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)
200
{ 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)
163
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
173
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
259
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
270
using ToolStrip toolStrip =
new
() { LayoutStyle = ToolStripLayoutStyle.Table };
299
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\ToolStripItemRenderEventArgsTests.cs (1)
35
ToolStrip toolStrip =
new
();
System\Windows\Forms\ToolStripItemTests.cs (278)
394
using ToolStrip toolStrip =
new
();
405
using ToolStrip parent =
new
();
430
using ToolStrip parent =
new
();
482
using ToolStrip owner =
new
();
514
using ToolStrip owner =
new
();
586
using ToolStrip owner =
new
();
613
using ToolStrip owner =
new
();
657
using ToolStrip parent =
new
();
684
using ToolStrip parent =
new
();
728
using ToolStrip parent =
new
()
751
using ToolStrip parent =
new
();
809
using ToolStrip owner =
new
();
841
using ToolStrip parent =
new
();
893
using ToolStrip owner =
new
();
939
using ToolStrip owner =
new
();
1000
using ToolStrip parent =
new
();
1038
using ToolStrip parent =
new
();
1214
using ToolStrip owner =
new
();
1257
using ToolStrip owner =
new
();
1303
using ToolStrip owner =
new
();
1352
using ToolStrip parent =
new
();
1395
using ToolStrip parent =
new
();
1429
using ToolStrip parent =
new
();
1547
using ToolStrip owner =
new
()
1561
using ToolStrip parent =
new
()
1591
using ToolStrip owner =
new
();
1611
using ToolStrip owner =
new
();
1644
using ToolStrip parent =
new
();
1670
using ToolStrip parent =
new
();
1793
using ToolStrip owner =
new
();
1813
using ToolStrip owner =
new
();
1846
using ToolStrip parent =
new
();
1874
using ToolStrip parent =
new
();
1922
using ToolStrip owner =
new
();
1942
using ToolStrip owner =
new
();
1975
using ToolStrip parent =
new
();
1999
using ToolStrip parent =
new
();
2059
using ToolStrip owner =
new
();
2070
using ToolStrip parent =
new
();
2134
using ToolStrip owner =
new
();
2175
using ToolStrip owner =
new
();
2227
using ToolStrip parent =
new
();
2251
using ToolStrip parent =
new
();
2378
using ToolStrip owner =
new
();
2411
using ToolStrip parent =
new
();
2470
using ToolStrip owner =
new
()
2492
using ToolStrip parent =
new
()
2618
using ToolStrip owner =
new
();
2645
using ToolStrip owner =
new
();
2682
using ToolStrip owner =
new
();
2710
using ToolStrip owner =
new
();
2753
using ToolStrip parent =
new
();
2780
using ToolStrip parent =
new
();
2817
using ToolStrip parent =
new
();
2857
using ToolStrip parent =
new
();
2934
using ToolStrip parent =
new
()
2952
using ToolStrip owner =
new
()
3006
using ToolStrip owner =
new
();
3047
using ToolStrip owner =
new
();
3100
using ToolStrip parent =
new
();
3134
using ToolStrip parent =
new
();
3237
using ToolStrip owner =
new
()
3251
using ToolStrip parent =
new
()
3281
using ToolStrip owner =
new
();
3301
using ToolStrip owner =
new
();
3334
using ToolStrip parent =
new
();
3363
using ToolStrip parent =
new
();
3481
using ToolStrip owner =
new
();
3517
using ToolStrip owner =
new
();
3569
using ToolStrip parent =
new
();
3615
using ToolStrip parent =
new
();
3677
using ToolStrip owner =
new
()
3697
using ToolStrip owner =
new
()
3718
using ToolStrip owner =
new
()
3743
using ToolStrip parent =
new
()
3765
using ToolStrip parent =
new
()
3899
using ToolStrip owner =
new
();
3944
using ToolStrip owner =
new
();
4002
using ToolStrip parent =
new
();
4037
using ToolStrip parent =
new
();
4105
using ToolStrip owner =
new
()
4150
using ToolStrip owner =
new
()
4198
using ToolStrip owner =
new
();
4245
using ToolStrip owner =
new
();
4297
using ToolStrip parent =
new
();
4329
using ToolStrip parent =
new
();
4456
using ToolStrip owner =
new
();
4502
using ToolStrip owner =
new
()
4550
using ToolStrip owner =
new
();
4606
using ToolStrip parent =
new
();
4645
using ToolStrip parent =
new
()
4684
using ToolStrip parent =
new
();
4787
using ToolStrip owner =
new
()
4865
using ToolStrip owner =
new
()
4956
using ToolStrip owner =
new
();
5004
using ToolStrip owner =
new
()
5050
using ToolStrip owner =
new
();
5104
using ToolStrip parent =
new
();
5141
using ToolStrip parent =
new
()
5178
using ToolStrip parent =
new
();
5286
using ToolStrip owner =
new
()
5378
using ToolStrip owner =
new
()
5425
using ToolStrip owner =
new
();
5465
using ToolStrip owner =
new
();
5517
using ToolStrip parent =
new
();
5549
using ToolStrip parent =
new
();
5648
using ToolStrip owner =
new
();
5681
using ToolStrip owner =
new
();
5715
using ToolStrip parent =
new
();
5748
using ToolStrip parent =
new
();
5813
using ToolStrip owner =
new
();
5835
using ToolStrip owner =
new
()
5851
using ToolStrip parent =
new
();
5873
using ToolStrip parent =
new
()
5917
using ToolStrip owner =
new
();
5956
using ToolStrip owner =
new
();
6008
using ToolStrip parent =
new
();
6047
using ToolStrip parent =
new
();
6249
using ToolStrip owner =
new
();
6294
using ToolStrip owner =
new
();
6350
using ToolStrip parent =
new
();
6386
using ToolStrip parent =
new
();
6442
using ToolStrip owner =
new
();
6443
using ToolStrip otherOwner =
new
();
6491
using ToolStrip owner =
new
();
6492
using ToolStrip otherOwner =
new
();
6550
using ToolStrip owner =
new
()
6581
using ToolStrip owner =
new
();
6582
using ToolStrip otherOwner =
new
();
6631
using ToolStrip owner =
new
();
6663
using ToolStrip parent =
new
();
6746
using ToolStrip owner =
new
();
6785
using ToolStrip owner =
new
();
6837
using ToolStrip parent =
new
();
6869
using ToolStrip parent =
new
();
6964
using ToolStrip parent =
new
();
6965
using ToolStrip otherParent =
new
();
7020
using ToolStrip parent =
new
();
7021
using ToolStrip otherParent =
new
();
7101
using ToolStrip owner =
new
()
7118
using ToolStrip parent =
new
()
7132
using ToolStrip owner =
new
()
7136
using ToolStrip parent =
new
()
7180
using ToolStrip owner =
new
()
7222
using ToolStrip owner =
new
()
7290
using ToolStrip parent =
new
()
7325
using ToolStrip parent =
new
()
7491
using ToolStrip owner =
new
();
7529
using ToolStrip owner =
new
();
7590
using ToolStrip parent =
new
();
7629
using ToolStrip parent =
new
();
7709
using ToolStrip owner =
new
();
7747
using ToolStrip parent =
new
();
7858
using ToolStrip owner =
new
();
7894
using ToolStrip owner =
new
();
7953
using ToolStrip parent =
new
();
7996
using ToolStrip parent =
new
();
8084
using ToolStrip owner =
new
();
8126
using ToolStrip owner =
new
();
8178
using ToolStrip parent =
new
();
8211
using ToolStrip parent =
new
();
8314
using ToolStrip owner =
new
();
8361
using ToolStrip owner =
new
();
8413
using ToolStrip parent =
new
();
8445
using ToolStrip parent =
new
();
8503
using ToolStrip owner =
new
()
8521
using ToolStrip parent =
new
()
8535
using ToolStrip owner =
new
()
8539
using ToolStrip parent =
new
()
8586
using ToolStrip owner =
new
()
8628
using ToolStrip owner =
new
()
8683
using ToolStrip parent =
new
()
8718
using ToolStrip parent =
new
()
8841
using ToolStrip owner =
new
();
8884
using ToolStrip owner =
new
();
8936
using ToolStrip parent =
new
();
8968
using ToolStrip parent =
new
();
9132
using ToolStrip owner =
new
()
9154
using ToolStrip parent =
new
()
9264
using ToolStrip owner =
new
();
9307
using ToolStrip owner =
new
();
9353
using ToolStrip owner =
new
();
9402
using ToolStrip parent =
new
();
9445
using ToolStrip parent =
new
();
9479
using ToolStrip parent =
new
();
9648
using ToolStrip owner =
new
();
9684
using ToolStrip owner =
new
();
9736
using ToolStrip parent =
new
();
9782
using ToolStrip parent =
new
();
9912
using ToolStrip owner =
new
();
9954
using ToolStrip parent =
new
();
10065
using ToolStrip owner =
new
();
10109
using ToolStrip parent =
new
();
10174
using ToolStrip parent =
new
();
10188
using ToolStrip parent =
new
()
10205
using ToolStrip owner =
new
();
10219
using ToolStrip owner =
new
()
10297
using ToolStrip parent =
new
();
10308
using ToolStrip owner =
new
();
10340
using ToolStrip owner =
new
();
10355
using ToolStrip parent =
new
();
10400
using ToolStrip owner =
new
();
10416
using ToolStrip owner =
new
();
10446
using ToolStrip parent =
new
();
10462
using ToolStrip parent =
new
();
10510
using ToolStrip owner =
new
();
10527
using ToolStrip owner =
new
();
10558
using ToolStrip parent =
new
();
10575
using ToolStrip parent =
new
();
10654
using ToolStrip owner =
new
();
10684
using ToolStrip owner =
new
();
10728
using ToolStrip parent =
new
();
10758
using ToolStrip parent =
new
();
10808
using ToolStrip owner =
new
();
10832
using ToolStrip owner =
new
();
10866
using ToolStrip parent =
new
();
10897
using ToolStrip parent =
new
();
11187
using ToolStrip owner =
new
();
11220
using ToolStrip owner =
new
();
11266
using ToolStrip parent =
new
();
11299
using ToolStrip parent =
new
();
11381
using ToolStrip owner =
new
();
11419
using ToolStrip owner =
new
();
11470
using ToolStrip parent =
new
();
11501
using ToolStrip parent =
new
();
11569
using ToolStrip owner =
new
();
11599
using ToolStrip owner =
new
();
11643
using ToolStrip parent =
new
();
11673
using ToolStrip parent =
new
();
11862
using ToolStrip owner =
new
()
11894
using ToolStrip parent =
new
()
11962
using ToolStrip owner =
new
()
11994
using ToolStrip owner =
new
()
12027
using ToolStrip parent =
new
()
12059
using ToolStrip parent =
new
()
12226
using ToolStrip owner =
new
()
12291
using ToolStrip owner =
new
();
12337
using ToolStrip owner =
new
();
12402
using ToolStrip parent =
new
();
12439
using ToolStrip parent =
new
();
12548
yield return new object[] { enabled, visible, image, allowDrop, null, new
ToolStrip
() };
12549
yield return new object[] { enabled, visible, image, allowDrop, new
ToolStrip
(), null };
12550
yield return new object[] { enabled, visible, image, allowDrop, new
ToolStrip
(), new
ToolStrip
() };
12759
using ToolStrip owner =
new
();
12809
using ToolStrip owner =
new
();
12872
using ToolStrip parent =
new
();
12915
using ToolStrip parent =
new
();
12995
using ToolStrip owner =
new
();
13045
using ToolStrip owner =
new
();
13108
using ToolStrip parent =
new
();
13151
using ToolStrip parent =
new
();
13280
using ToolStrip owner =
new
();
13324
using ToolStrip owner =
new
();
13390
using ToolStrip owner =
new
();
13456
using ToolStrip owner =
new
();
13516
using ToolStrip parent =
new
();
13560
using ToolStrip parent =
new
();
13691
using ToolStrip control =
new
();
13760
using ToolStrip owner =
new
();
13812
using ToolStrip owner =
new
();
13880
using ToolStrip parent =
new
();
13917
using ToolStrip parent =
new
();
14007
using ToolStrip parent =
new
();
14376
using ToolStrip owner =
new
();
14395
using ToolStrip owner =
new
();
14465
using ToolStrip parent =
new
();
14484
using ToolStrip parent =
new
();
14598
using ToolStrip owner =
new
();
14645
using ToolStrip owner =
new
();
14719
using ToolStrip parent =
new
();
14773
using ToolStrip parent =
new
();
14945
using ToolStrip owner =
new
();
14988
using ToolStrip owner =
new
();
15034
using ToolStrip owner =
new
();
15083
using ToolStrip parent =
new
();
15126
using ToolStrip parent =
new
();
15160
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)
900
public ToolStrip ToolStrip =
new
();
960
ToolStrip =
new
()
ToolStripTests.cs (1)
37
using ToolStrip toolStrip =
new
()
WinFormsControlsTest (6)
DragDrop.cs (1)
439
ToolStrip toolStrip =
new
()
ToolStripSeparatorPreferredSize.cs (1)
32
_toolStrip1 = new System.Windows.Forms.
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
();
1067 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 (253)
System\Windows\Forms\Control.cs (1)
10189
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)
2354
ToolStrip
toolStrip = (
ToolStrip
)container;
2418
ToolStrip
toolStrip = (
ToolStrip
)container;
2507
internal virtual
ToolStrip
? GetToplevelOwnerToolStrip()
4188
protected static void SetItemParent(ToolStripItem item,
ToolStrip
parent)
4556
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)
13
public ToolStripAccessibleObject(
ToolStrip
owner) : base(owner)
18
=> this.IsOwnerHandleCreated(out
ToolStrip
? _) ? HitTest((int)x, (int)y) : null;
25
if (!this.IsOwnerHandleCreated(out
ToolStrip
? owner))
43
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.Items is null)
123
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.Items is null)
152
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || fragmentIndex < 0)
261
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.OverflowItems is null)
271
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.DisplayedItems is null)
281
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.Items is null)
326
if (!this.TryGetOwnerAs(out
ToolStrip
? owner) || owner.Items is null)
384
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 (12)
517
ToolStrip
? ownerToolStrip = OwnerToolStrip;
530
ToolStrip
? ownerToolStrip = OwnerToolStrip;
713
internal
ToolStrip
? OwnerToolStrip
719
ToolStrip
? owner = _ownerItem.ParentInternal;
995
ToolStrip
? toplevelOwnerToolStrip = GetToplevelOwnerToolStrip();
1177
internal override
ToolStrip
? GetToplevelOwnerToolStrip()
1432
ToolStrip
? toplevelToolStrip = GetToplevelOwnerToolStrip();
1482
ToolStrip
? toplevel = GetToplevelOwnerToolStrip();
1808
ToolStrip
? topLevelToolStrip = GetToplevelOwnerToolStrip();
1809
ToolStrip
? parentToolStrip = OwnerItem?.ParentInternal;
1896
ToolStrip
? toolStrip = GetToplevelOwnerToolStrip();
2170
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)
17
private readonly
ToolStrip
_owner;
19
public
ToolStrip
Owner => _owner;
21
public ToolStripDropTargetManager(
ToolStrip
owner)
224
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;
1210
ToolStrip
? parent = ParentInternal;
1413
public
ToolStrip
? Owner
1483
protected internal
ToolStrip
? Parent
1535
internal
ToolStrip
? ParentInternal
1542
ToolStrip
? oldParent = _parent;
1569
ToolStrip
? ownerToolStrip = Owner;
1628
/// Returns the parent <see cref="
ToolStrip
"/>'s renderer
2350
public
ToolStrip
? GetCurrentParent() => Parent;
2688
ToolStrip
? parent = ParentInternal;
2917
protected virtual void OnParentChanged(
ToolStrip
? oldParent,
ToolStrip
? newParent)
3220
internal void SetOwner(
ToolStrip
? newOwner)
3475
ToolStrip
? parent = ParentInternal;
3549
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)
382
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)
36
private List<
ToolStrip
>? _inputFilterQueue;
46
private
ToolStrip
? _toplevelToolStrip;
234
internal static
ToolStrip
? GetActiveToolStrip() => Instance.GetActiveToolStripInternal();
236
internal
ToolStrip
? GetActiveToolStripInternal()
249
private
ToolStrip
? GetCurrentTopLevelToolStrip()
253
ToolStrip
? activeToolStrip = GetActiveToolStripInternal();
272
if (Control.FromHandle(m.HWnd) is
ToolStrip
toolStrip && !toolStrip.IsDropDown)
331
ToolStrip
? activeToolStrip = GetActiveToolStripInternal();
388
internal static void SetActiveToolStrip(
ToolStrip
toolStrip, bool menuKeyPressed)
398
internal static void SetActiveToolStrip(
ToolStrip
toolStrip)
401
private void SetActiveToolStripCore(
ToolStrip
toolStrip)
436
ToolStrip
? currentActiveToolStrip = GetActiveToolStripInternal();
489
internal static void RemoveActiveToolStrip(
ToolStrip
toolStrip)
494
private void RemoveActiveToolStripCore(
ToolStrip
toolStrip)
529
ToolStrip
? activeToolStrip = GetActiveToolStrip();
589
ToolStrip
? toplevelToolStrip = GetCurrentTopLevelToolStrip();
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
30
private
ToolStrip
? _lastOwner;
376
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 (15)
419
private Point GetStartLocation(
ToolStrip
toolStripToDrag)
459
var
toolStrip = e.Control as
ToolStrip
;
541
var
toolStrip = controls[i] as
ToolStrip
;
654
var
toolStrip = controlArray[i] as
ToolStrip
;
677
private void GiveToolStripPanelFeedback(
ToolStrip
toolStripToDrag, Point screenLocation)
720
public void Join(
ToolStrip
toolStripToDrag)
725
public void Join(
ToolStrip
toolStripToDrag, int row)
752
public void Join(
ToolStrip
toolStripToDrag, int x, int y)
757
public void Join(
ToolStrip
toolStripToDrag, Point location)
781
internal void MoveControl(
ToolStrip
? toolStripToDrag, Point screenLocation)
801
private void MoveInsideContainer(
ToolStrip
toolStripToDrag, Point clientLocation)
994
private void MoveOutsideContainer(
ToolStrip
toolStripToDrag, Point screenLocation)
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)
280
public bool CanMove(
ToolStrip
toolStripToDrag)
354
internal Size GetMinimumSize(
ToolStrip
toolStrip)
475
Size minSize = GetMinimumSize((
ToolStrip
)currentCell.Control);
572
Size minSize = GetMinimumSize((
ToolStrip
)currentCell.Control);
718
internal void MoveControl(
ToolStrip
movingControl, Point startClientLocation, Point endClientLocation)
723
internal void JoinRow(
ToolStrip
toolStripToDrag, Point locationToDrag)
728
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)
6398
ToolStrip
? thisToolstrip = MainMenuStrip;
6399
List<
ToolStrip
> childrenToolStrips = ToolStripManager.FindMergeableToolStrips(ActiveMdiChildInternal);
6414
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 (115)
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 (2)
46
ToolStrip
toolStrip = _designer.Component as
ToolStrip
;
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)
955
&& 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;
893
if (_toolStripSelected && e.Component is
ToolStrip
)
1018
ToolStrip
parent = changingItem.Owner;
1357
if (comp is
ToolStrip
)
1544
if (c is
ToolStrip
&& (c != ToolStrip))
1568
if (c is
ToolStrip
&& menu is null)
1792
if (selComp is
ToolStrip
)
1820
ToolStrip
parentToolStrip = ToolStrip;
2197
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
)
622
ToolStrip
parent = null;
698
ToolStrip
parent = item.GetCurrentParent();
743
ToolStrip
parent = item.GetCurrentParent();
784
ToolStrip
parent = selectedItem.GetCurrentParent();
798
if (selectedObj is
ToolStrip
)
800
ToolStrip
parent = selectedObj as
ToolStrip
;
1113
ToolStrip
tool = primarySelection as
ToolStrip
;
1141
ToolStrip
tool = primarySelection as
ToolStrip
;
1187
else if (item is null && selSvc.PrimarySelection is
ToolStrip
)
1290
ToolStrip
mainTool = owner.GetCurrentParent();
1439
if (item.Owner is
ToolStrip
owner)
1745
ToolStrip
owner = toolStripItem.Owner;
1841
if (targetSelection is null && ctl is
ToolStrip
wb)
1875
ToolStrip
parent = item.GetCurrentParent();
1886
if (item.Owner is
ToolStrip
owner)
1975
ToolStrip
parent = item.GetCurrentParent();
2040
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();
1425
internal override
ToolStrip
GetMainToolStrip()
1574
ToolStrip
main = GetMainToolStrip();
1820
ToolStrip
mainStrip = GetMainToolStrip();
1868
ToolStrip
mainStrip = GetMainToolStrip();
2078
ToolStrip
mainStrip = GetMainToolStrip();
2127
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 (1)
ToolStripDesignerTests.cs (1)
18
using
ToolStrip
toolStrip = new();
System.Windows.Forms.Tests (675)
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)
163
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
173
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
259
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
270
using
ToolStrip
toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
299
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\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)
394
using
ToolStrip
toolStrip = new();
405
using
ToolStrip
parent = new();
430
using
ToolStrip
parent = new();
482
using
ToolStrip
owner = new();
514
using
ToolStrip
owner = new();
586
using
ToolStrip
owner = new();
613
using
ToolStrip
owner = new();
657
using
ToolStrip
parent = new();
684
using
ToolStrip
parent = new();
728
using
ToolStrip
parent = new()
751
using
ToolStrip
parent = new();
809
using
ToolStrip
owner = new();
841
using
ToolStrip
parent = new();
893
using
ToolStrip
owner = new();
939
using
ToolStrip
owner = new();
1000
using
ToolStrip
parent = new();
1038
using
ToolStrip
parent = new();
1214
using
ToolStrip
owner = new();
1257
using
ToolStrip
owner = new();
1303
using
ToolStrip
owner = new();
1352
using
ToolStrip
parent = new();
1395
using
ToolStrip
parent = new();
1429
using
ToolStrip
parent = new();
1547
using
ToolStrip
owner = new()
1561
using
ToolStrip
parent = new()
1591
using
ToolStrip
owner = new();
1611
using
ToolStrip
owner = new();
1644
using
ToolStrip
parent = new();
1670
using
ToolStrip
parent = new();
1793
using
ToolStrip
owner = new();
1813
using
ToolStrip
owner = new();
1846
using
ToolStrip
parent = new();
1874
using
ToolStrip
parent = new();
1922
using
ToolStrip
owner = new();
1942
using
ToolStrip
owner = new();
1975
using
ToolStrip
parent = new();
1999
using
ToolStrip
parent = new();
2059
using
ToolStrip
owner = new();
2070
using
ToolStrip
parent = new();
2134
using
ToolStrip
owner = new();
2175
using
ToolStrip
owner = new();
2227
using
ToolStrip
parent = new();
2251
using
ToolStrip
parent = new();
2378
using
ToolStrip
owner = new();
2411
using
ToolStrip
parent = new();
2470
using
ToolStrip
owner = new()
2492
using
ToolStrip
parent = new()
2618
using
ToolStrip
owner = new();
2645
using
ToolStrip
owner = new();
2682
using
ToolStrip
owner = new();
2710
using
ToolStrip
owner = new();
2753
using
ToolStrip
parent = new();
2780
using
ToolStrip
parent = new();
2817
using
ToolStrip
parent = new();
2857
using
ToolStrip
parent = new();
2934
using
ToolStrip
parent = new()
2952
using
ToolStrip
owner = new()
3006
using
ToolStrip
owner = new();
3047
using
ToolStrip
owner = new();
3100
using
ToolStrip
parent = new();
3134
using
ToolStrip
parent = new();
3237
using
ToolStrip
owner = new()
3251
using
ToolStrip
parent = new()
3281
using
ToolStrip
owner = new();
3301
using
ToolStrip
owner = new();
3334
using
ToolStrip
parent = new();
3363
using
ToolStrip
parent = new();
3481
using
ToolStrip
owner = new();
3517
using
ToolStrip
owner = new();
3569
using
ToolStrip
parent = new();
3615
using
ToolStrip
parent = new();
3677
using
ToolStrip
owner = new()
3697
using
ToolStrip
owner = new()
3718
using
ToolStrip
owner = new()
3743
using
ToolStrip
parent = new()
3765
using
ToolStrip
parent = new()
3899
using
ToolStrip
owner = new();
3944
using
ToolStrip
owner = new();
4002
using
ToolStrip
parent = new();
4037
using
ToolStrip
parent = new();
4105
using
ToolStrip
owner = new()
4150
using
ToolStrip
owner = new()
4198
using
ToolStrip
owner = new();
4245
using
ToolStrip
owner = new();
4297
using
ToolStrip
parent = new();
4329
using
ToolStrip
parent = new();
4456
using
ToolStrip
owner = new();
4502
using
ToolStrip
owner = new()
4550
using
ToolStrip
owner = new();
4606
using
ToolStrip
parent = new();
4645
using
ToolStrip
parent = new()
4684
using
ToolStrip
parent = new();
4787
using
ToolStrip
owner = new()
4865
using
ToolStrip
owner = new()
4956
using
ToolStrip
owner = new();
5004
using
ToolStrip
owner = new()
5050
using
ToolStrip
owner = new();
5104
using
ToolStrip
parent = new();
5141
using
ToolStrip
parent = new()
5178
using
ToolStrip
parent = new();
5286
using
ToolStrip
owner = new()
5378
using
ToolStrip
owner = new()
5425
using
ToolStrip
owner = new();
5465
using
ToolStrip
owner = new();
5517
using
ToolStrip
parent = new();
5549
using
ToolStrip
parent = new();
5648
using
ToolStrip
owner = new();
5681
using
ToolStrip
owner = new();
5715
using
ToolStrip
parent = new();
5748
using
ToolStrip
parent = new();
5813
using
ToolStrip
owner = new();
5835
using
ToolStrip
owner = new()
5851
using
ToolStrip
parent = new();
5873
using
ToolStrip
parent = new()
5917
using
ToolStrip
owner = new();
5956
using
ToolStrip
owner = new();
6008
using
ToolStrip
parent = new();
6047
using
ToolStrip
parent = new();
6249
using
ToolStrip
owner = new();
6294
using
ToolStrip
owner = new();
6350
using
ToolStrip
parent = new();
6386
using
ToolStrip
parent = new();
6442
using
ToolStrip
owner = new();
6443
using
ToolStrip
otherOwner = new();
6491
using
ToolStrip
owner = new();
6492
using
ToolStrip
otherOwner = new();
6550
using
ToolStrip
owner = new()
6581
using
ToolStrip
owner = new();
6582
using
ToolStrip
otherOwner = new();
6631
using
ToolStrip
owner = new();
6663
using
ToolStrip
parent = new();
6746
using
ToolStrip
owner = new();
6785
using
ToolStrip
owner = new();
6837
using
ToolStrip
parent = new();
6869
using
ToolStrip
parent = new();
6964
using
ToolStrip
parent = new();
6965
using
ToolStrip
otherParent = new();
7020
using
ToolStrip
parent = new();
7021
using
ToolStrip
otherParent = new();
7101
using
ToolStrip
owner = new()
7118
using
ToolStrip
parent = new()
7132
using
ToolStrip
owner = new()
7136
using
ToolStrip
parent = new()
7180
using
ToolStrip
owner = new()
7222
using
ToolStrip
owner = new()
7290
using
ToolStrip
parent = new()
7325
using
ToolStrip
parent = new()
7491
using
ToolStrip
owner = new();
7529
using
ToolStrip
owner = new();
7590
using
ToolStrip
parent = new();
7629
using
ToolStrip
parent = new();
7709
using
ToolStrip
owner = new();
7747
using
ToolStrip
parent = new();
7858
using
ToolStrip
owner = new();
7894
using
ToolStrip
owner = new();
7953
using
ToolStrip
parent = new();
7996
using
ToolStrip
parent = new();
8084
using
ToolStrip
owner = new();
8126
using
ToolStrip
owner = new();
8178
using
ToolStrip
parent = new();
8211
using
ToolStrip
parent = new();
8314
using
ToolStrip
owner = new();
8361
using
ToolStrip
owner = new();
8413
using
ToolStrip
parent = new();
8445
using
ToolStrip
parent = new();
8503
using
ToolStrip
owner = new()
8521
using
ToolStrip
parent = new()
8535
using
ToolStrip
owner = new()
8539
using
ToolStrip
parent = new()
8586
using
ToolStrip
owner = new()
8628
using
ToolStrip
owner = new()
8683
using
ToolStrip
parent = new()
8718
using
ToolStrip
parent = new()
8841
using
ToolStrip
owner = new();
8884
using
ToolStrip
owner = new();
8936
using
ToolStrip
parent = new();
8968
using
ToolStrip
parent = new();
9132
using
ToolStrip
owner = new()
9154
using
ToolStrip
parent = new()
9264
using
ToolStrip
owner = new();
9307
using
ToolStrip
owner = new();
9353
using
ToolStrip
owner = new();
9402
using
ToolStrip
parent = new();
9445
using
ToolStrip
parent = new();
9479
using
ToolStrip
parent = new();
9648
using
ToolStrip
owner = new();
9684
using
ToolStrip
owner = new();
9736
using
ToolStrip
parent = new();
9782
using
ToolStrip
parent = new();
9912
using
ToolStrip
owner = new();
9954
using
ToolStrip
parent = new();
10065
using
ToolStrip
owner = new();
10109
using
ToolStrip
parent = new();
10174
using
ToolStrip
parent = new();
10188
using
ToolStrip
parent = new()
10205
using
ToolStrip
owner = new();
10219
using
ToolStrip
owner = new()
10297
using
ToolStrip
parent = new();
10308
using
ToolStrip
owner = new();
10340
using
ToolStrip
owner = new();
10355
using
ToolStrip
parent = new();
10400
using
ToolStrip
owner = new();
10416
using
ToolStrip
owner = new();
10446
using
ToolStrip
parent = new();
10462
using
ToolStrip
parent = new();
10510
using
ToolStrip
owner = new();
10527
using
ToolStrip
owner = new();
10558
using
ToolStrip
parent = new();
10575
using
ToolStrip
parent = new();
10654
using
ToolStrip
owner = new();
10684
using
ToolStrip
owner = new();
10728
using
ToolStrip
parent = new();
10758
using
ToolStrip
parent = new();
10808
using
ToolStrip
owner = new();
10832
using
ToolStrip
owner = new();
10866
using
ToolStrip
parent = new();
10897
using
ToolStrip
parent = new();
11187
using
ToolStrip
owner = new();
11220
using
ToolStrip
owner = new();
11266
using
ToolStrip
parent = new();
11299
using
ToolStrip
parent = new();
11381
using
ToolStrip
owner = new();
11419
using
ToolStrip
owner = new();
11470
using
ToolStrip
parent = new();
11501
using
ToolStrip
parent = new();
11569
using
ToolStrip
owner = new();
11599
using
ToolStrip
owner = new();
11643
using
ToolStrip
parent = new();
11673
using
ToolStrip
parent = new();
11862
using
ToolStrip
owner = new()
11894
using
ToolStrip
parent = new()
11962
using
ToolStrip
owner = new()
11994
using
ToolStrip
owner = new()
12027
using
ToolStrip
parent = new()
12059
using
ToolStrip
parent = new()
12226
using
ToolStrip
owner = new()
12291
using
ToolStrip
owner = new();
12337
using
ToolStrip
owner = new();
12402
using
ToolStrip
parent = new();
12439
using
ToolStrip
parent = new();
12559
public void ToolStripItem_OnParentChanged_Invoke_Success(bool enabled, bool visible, Image image, bool allowDrop,
ToolStrip
oldParent,
ToolStrip
newParent)
12759
using
ToolStrip
owner = new();
12809
using
ToolStrip
owner = new();
12872
using
ToolStrip
parent = new();
12915
using
ToolStrip
parent = new();
12995
using
ToolStrip
owner = new();
13045
using
ToolStrip
owner = new();
13108
using
ToolStrip
parent = new();
13151
using
ToolStrip
parent = new();
13280
using
ToolStrip
owner = new();
13324
using
ToolStrip
owner = new();
13390
using
ToolStrip
owner = new();
13456
using
ToolStrip
owner = new();
13516
using
ToolStrip
parent = new();
13560
using
ToolStrip
parent = new();
13691
using
ToolStrip
control = new();
13760
using
ToolStrip
owner = new();
13812
using
ToolStrip
owner = new();
13880
using
ToolStrip
parent = new();
13917
using
ToolStrip
parent = new();
14007
using
ToolStrip
parent = new();
14376
using
ToolStrip
owner = new();
14395
using
ToolStrip
owner = new();
14465
using
ToolStrip
parent = new();
14484
using
ToolStrip
parent = new();
14598
using
ToolStrip
owner = new();
14645
using
ToolStrip
owner = new();
14719
using
ToolStrip
parent = new();
14773
using
ToolStrip
parent = new();
14945
using
ToolStrip
owner = new();
14988
using
ToolStrip
owner = new();
15034
using
ToolStrip
owner = new();
15083
using
ToolStrip
parent = new();
15126
using
ToolStrip
parent = new();
15160
using
ToolStrip
parent = new();
15535
public new
ToolStrip
Parent
15603
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)
900
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)
100
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;