11 types derived from ToolStrip
System.Windows.Forms (5)
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
11public partial class MenuStrip : ToolStrip
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStrip.cs (1)
10internal partial class PropertyGridToolStrip : ToolStrip
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
12public partial class StatusStrip : ToolStrip
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
13public partial class ToolStripDropDown : ToolStrip
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
14public class BindingNavigator : ToolStrip, ISupportInitialize
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1628public class TransparentToolStrip : ToolStrip
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStripItemTests.cs (2)
15462private class SubToolStrip : ToolStrip 15630private class ToolStripWithDisconnectCount : ToolStrip
System\Windows\Forms\ToolStripTests.cs (3)
2324private class CustomDefaultDockToolStrip : ToolStrip 3575private class CustomDefaultShowItemToolTipsToolStrip : ToolStrip 7506private class SubToolStrip : ToolStrip
598 instantiations of ToolStrip
Accessibility_Core_App (2)
Menu_Toolbars_controls.Designer.cs (1)
91toolStrip1 = new ToolStrip();
ToolStripContainer.Designer.cs (1)
34this.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)
18using ToolStrip toolStrip = new();
System.Windows.Forms.Tests (584)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (4)
1426using ToolStrip toolStrip = new(); 1493using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) }; 1527using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) }; 1565using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (9)
15using ToolStrip toolStrip = new(); 25using ToolStrip toolStrip = new() 40using ToolStrip toolStrip = new(); 51using ToolStrip toolStrip = new() 65using ToolStrip toolStrip = new() 79using ToolStrip toolStrip = new(); 107using ToolStrip toolStrip = new(); 161using ToolStrip toolStrip = new(); 947ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxAccessibleObjectTests.cs (1)
11using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxControlAccessibleObjectTests.cs (1)
92using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (1)
69using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripHostedControlAccessibleObjectTests.cs (1)
20using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
74using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObjectTests.cs (4)
26using ToolStrip toolStrip = new(); 55using ToolStrip toolStrip = new(); 101using ToolStrip toolStrip = new(); 190using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (8)
114using ToolStrip toolStrip = new(); 203using ToolStrip toolStrip = new(); 217using ToolStrip toolStrip = new(); 229using ToolStrip toolStrip = new(); 242using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) }; 267using ToolStrip toolStrip = new() { GripStyle = ToolStripGripStyle.Hidden }; 283using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) }; 310using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (1)
198ToolStrip toolStrip = new()
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (6)
14using ToolStrip toolStrip = new(); 25using ToolStrip toolStrip = new(); 38using ToolStrip toolStrip = new(); 67using ToolStrip toolStrip = new(); 82using ToolStrip toolStrip = new() { AutoSize = false, Size = new(30, 30) }; 107using ToolStrip toolStrip = new() { AutoSize = false, Size = new(60, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (2)
102using ToolStrip toolStrip = new(); 119using ToolStrip toolStrip = new() { Size = new Drawing.Size(500, 25) };
System\Windows\Forms\AccessibleObjects\ToolStripScrollButton.ToolStripScrollButtonAccessibleObjectTests.cs (3)
26using ToolStrip toolStrip = new(); 88using ToolStrip toolStrip = new(); 132using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObjectTests.cs (2)
53using ToolStrip toolStrip = new(); 69using 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)
926using ToolStrip toolStrip1 = new() { TabStop = true, }; 927using ToolStrip toolStrip2 = new() { TabStop = true, }; 983using ToolStrip toolStrip1 = new() { TabStop = true }; 984using ToolStrip toolStrip2 = new() { TabStop = true };
System\Windows\Forms\FlowLayoutSettingsTests.cs (10)
17using ToolStrip control = new() 47using ToolStrip control = new() 60using ToolStrip control = new() 95using ToolStrip control = new() 106using ToolStrip control = new() 117using ToolStrip control = new() 129using ToolStrip control = new() 169using ToolStrip control = new() 232using ToolStrip control = new() 244using ToolStrip control = new()
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1724using ToolStrip control = new()
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (5)
163using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 173using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 259using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 270using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 299using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\MenuStripTests.cs (1)
354using ToolStrip control = new()
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (8)
11using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 23using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 35using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 47using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 61using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 71using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 86using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 99using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (8)
11using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 23using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 35using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 47using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 61using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 71using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 86using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 99using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (23)
13using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 26using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 38using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 50using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 60using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 69using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 81using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 95using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 104using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 113using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 124using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 138using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 154using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 165using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 175using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 187using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 202using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 214using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 223using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 238using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 256using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 270using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 284using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (3)
27using ToolStrip toolStrip = new(); 43using ToolStrip toolStrip = new(); 75using ToolStrip toolStrip = new();
System\Windows\Forms\ToolStripButtonTests.cs (11)
663using ToolStrip owner = new(); 691using ToolStrip owner = new(); 736using ToolStrip parent = new(); 764using ToolStrip parent = new(); 882using ToolStrip owner = new(); 903using ToolStrip owner = new(); 1269using ToolStrip owner = new() 1360using ToolStrip owner = new() 1459using ToolStrip parent = new() 1503using ToolStrip owner = new(); 1541using ToolStrip parent = new();
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (6)
15using ToolStrip toolStrip = new(); 41using ToolStrip toolStrip = new(); 67using ToolStrip toolStrip = new(); 93using ToolStrip toolStrip = new(); 119using ToolStrip toolStrip = new(); 146using ToolStrip toolStrip = new();
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1327using ToolStrip control = new()
System\Windows\Forms\ToolStripControlHostTests.cs (16)
1384using ToolStrip parent = new(); 1385using ToolStrip otherParent = new(); 1451using ToolStrip owner = new(); 1452using ToolStrip parent = new(); 1453using ToolStrip otherParent = new(); 1529using ToolStrip parent = new(); 3044yield return new object[] { enabled, visible, image, allowDrop, null, new ToolStrip() }; 3045yield return new object[] { enabled, visible, image, allowDrop, new ToolStrip(), null }; 3046yield return new object[] { enabled, visible, image, allowDrop, new ToolStrip(), new ToolStrip() }; 3075using ToolStrip owner = new(); 3097using ToolStrip parent = new(); 3098using ToolStrip otherParent = new(); 3166using ToolStrip parent = new(); 3167using ToolStrip otherParent = new(); 3264using ToolStrip owner = new();
System\Windows\Forms\ToolStripDropDownItemTests.cs (2)
406using ToolStrip owner = new() 426using ToolStrip parent = new()
System\Windows\Forms\ToolStripDropDownTests.cs (2)
1489using ToolStrip control = new() 1510using ToolStrip control = new()
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (3)
16yield return new object[] { null, new ToolStrip() }; 32yield return new object[] { graphics, new ToolStrip() }; 35graphics, new ToolStrip
System\Windows\Forms\ToolStripItemRenderEventArgsTests.cs (1)
35ToolStrip toolStrip = new();
System\Windows\Forms\ToolStripItemTests.cs (278)
394using ToolStrip toolStrip = new(); 405using ToolStrip parent = new(); 430using ToolStrip parent = new(); 482using ToolStrip owner = new(); 514using ToolStrip owner = new(); 586using ToolStrip owner = new(); 613using ToolStrip owner = new(); 657using ToolStrip parent = new(); 684using ToolStrip parent = new(); 728using ToolStrip parent = new() 751using ToolStrip parent = new(); 809using ToolStrip owner = new(); 841using ToolStrip parent = new(); 893using ToolStrip owner = new(); 939using ToolStrip owner = new(); 1000using ToolStrip parent = new(); 1038using ToolStrip parent = new(); 1214using ToolStrip owner = new(); 1257using ToolStrip owner = new(); 1303using ToolStrip owner = new(); 1352using ToolStrip parent = new(); 1395using ToolStrip parent = new(); 1429using ToolStrip parent = new(); 1547using ToolStrip owner = new() 1561using ToolStrip parent = new() 1591using ToolStrip owner = new(); 1611using ToolStrip owner = new(); 1644using ToolStrip parent = new(); 1670using ToolStrip parent = new(); 1793using ToolStrip owner = new(); 1813using ToolStrip owner = new(); 1846using ToolStrip parent = new(); 1874using ToolStrip parent = new(); 1922using ToolStrip owner = new(); 1942using ToolStrip owner = new(); 1975using ToolStrip parent = new(); 1999using ToolStrip parent = new(); 2059using ToolStrip owner = new(); 2070using ToolStrip parent = new(); 2134using ToolStrip owner = new(); 2175using ToolStrip owner = new(); 2227using ToolStrip parent = new(); 2251using ToolStrip parent = new(); 2378using ToolStrip owner = new(); 2411using ToolStrip parent = new(); 2470using ToolStrip owner = new() 2492using ToolStrip parent = new() 2618using ToolStrip owner = new(); 2645using ToolStrip owner = new(); 2682using ToolStrip owner = new(); 2710using ToolStrip owner = new(); 2753using ToolStrip parent = new(); 2780using ToolStrip parent = new(); 2817using ToolStrip parent = new(); 2857using ToolStrip parent = new(); 2934using ToolStrip parent = new() 2952using ToolStrip owner = new() 3006using ToolStrip owner = new(); 3047using ToolStrip owner = new(); 3100using ToolStrip parent = new(); 3134using ToolStrip parent = new(); 3237using ToolStrip owner = new() 3251using ToolStrip parent = new() 3281using ToolStrip owner = new(); 3301using ToolStrip owner = new(); 3334using ToolStrip parent = new(); 3363using ToolStrip parent = new(); 3481using ToolStrip owner = new(); 3517using ToolStrip owner = new(); 3569using ToolStrip parent = new(); 3615using ToolStrip parent = new(); 3677using ToolStrip owner = new() 3697using ToolStrip owner = new() 3718using ToolStrip owner = new() 3743using ToolStrip parent = new() 3765using ToolStrip parent = new() 3899using ToolStrip owner = new(); 3944using ToolStrip owner = new(); 4002using ToolStrip parent = new(); 4037using ToolStrip parent = new(); 4105using ToolStrip owner = new() 4150using ToolStrip owner = new() 4198using ToolStrip owner = new(); 4245using ToolStrip owner = new(); 4297using ToolStrip parent = new(); 4329using ToolStrip parent = new(); 4456using ToolStrip owner = new(); 4502using ToolStrip owner = new() 4550using ToolStrip owner = new(); 4606using ToolStrip parent = new(); 4645using ToolStrip parent = new() 4684using ToolStrip parent = new(); 4787using ToolStrip owner = new() 4865using ToolStrip owner = new() 4956using ToolStrip owner = new(); 5004using ToolStrip owner = new() 5050using ToolStrip owner = new(); 5104using ToolStrip parent = new(); 5141using ToolStrip parent = new() 5178using ToolStrip parent = new(); 5286using ToolStrip owner = new() 5378using ToolStrip owner = new() 5425using ToolStrip owner = new(); 5465using ToolStrip owner = new(); 5517using ToolStrip parent = new(); 5549using ToolStrip parent = new(); 5648using ToolStrip owner = new(); 5681using ToolStrip owner = new(); 5715using ToolStrip parent = new(); 5748using ToolStrip parent = new(); 5813using ToolStrip owner = new(); 5835using ToolStrip owner = new() 5851using ToolStrip parent = new(); 5873using ToolStrip parent = new() 5917using ToolStrip owner = new(); 5956using ToolStrip owner = new(); 6008using ToolStrip parent = new(); 6047using ToolStrip parent = new(); 6249using ToolStrip owner = new(); 6294using ToolStrip owner = new(); 6350using ToolStrip parent = new(); 6386using ToolStrip parent = new(); 6442using ToolStrip owner = new(); 6443using ToolStrip otherOwner = new(); 6491using ToolStrip owner = new(); 6492using ToolStrip otherOwner = new(); 6550using ToolStrip owner = new() 6581using ToolStrip owner = new(); 6582using ToolStrip otherOwner = new(); 6631using ToolStrip owner = new(); 6663using ToolStrip parent = new(); 6746using ToolStrip owner = new(); 6785using ToolStrip owner = new(); 6837using ToolStrip parent = new(); 6869using ToolStrip parent = new(); 6964using ToolStrip parent = new(); 6965using ToolStrip otherParent = new(); 7020using ToolStrip parent = new(); 7021using ToolStrip otherParent = new(); 7101using ToolStrip owner = new() 7118using ToolStrip parent = new() 7132using ToolStrip owner = new() 7136using ToolStrip parent = new() 7180using ToolStrip owner = new() 7222using ToolStrip owner = new() 7290using ToolStrip parent = new() 7325using ToolStrip parent = new() 7491using ToolStrip owner = new(); 7529using ToolStrip owner = new(); 7590using ToolStrip parent = new(); 7629using ToolStrip parent = new(); 7709using ToolStrip owner = new(); 7747using ToolStrip parent = new(); 7858using ToolStrip owner = new(); 7894using ToolStrip owner = new(); 7953using ToolStrip parent = new(); 7996using ToolStrip parent = new(); 8084using ToolStrip owner = new(); 8126using ToolStrip owner = new(); 8178using ToolStrip parent = new(); 8211using ToolStrip parent = new(); 8314using ToolStrip owner = new(); 8361using ToolStrip owner = new(); 8413using ToolStrip parent = new(); 8445using ToolStrip parent = new(); 8503using ToolStrip owner = new() 8521using ToolStrip parent = new() 8535using ToolStrip owner = new() 8539using ToolStrip parent = new() 8586using ToolStrip owner = new() 8628using ToolStrip owner = new() 8683using ToolStrip parent = new() 8718using ToolStrip parent = new() 8841using ToolStrip owner = new(); 8884using ToolStrip owner = new(); 8936using ToolStrip parent = new(); 8968using ToolStrip parent = new(); 9132using ToolStrip owner = new() 9154using ToolStrip parent = new() 9264using ToolStrip owner = new(); 9307using ToolStrip owner = new(); 9353using ToolStrip owner = new(); 9402using ToolStrip parent = new(); 9445using ToolStrip parent = new(); 9479using ToolStrip parent = new(); 9648using ToolStrip owner = new(); 9684using ToolStrip owner = new(); 9736using ToolStrip parent = new(); 9782using ToolStrip parent = new(); 9912using ToolStrip owner = new(); 9954using ToolStrip parent = new(); 10065using ToolStrip owner = new(); 10109using ToolStrip parent = new(); 10174using ToolStrip parent = new(); 10188using ToolStrip parent = new() 10205using ToolStrip owner = new(); 10219using ToolStrip owner = new() 10297using ToolStrip parent = new(); 10308using ToolStrip owner = new(); 10340using ToolStrip owner = new(); 10355using ToolStrip parent = new(); 10400using ToolStrip owner = new(); 10416using ToolStrip owner = new(); 10446using ToolStrip parent = new(); 10462using ToolStrip parent = new(); 10510using ToolStrip owner = new(); 10527using ToolStrip owner = new(); 10558using ToolStrip parent = new(); 10575using ToolStrip parent = new(); 10654using ToolStrip owner = new(); 10684using ToolStrip owner = new(); 10728using ToolStrip parent = new(); 10758using ToolStrip parent = new(); 10808using ToolStrip owner = new(); 10832using ToolStrip owner = new(); 10866using ToolStrip parent = new(); 10897using ToolStrip parent = new(); 11187using ToolStrip owner = new(); 11220using ToolStrip owner = new(); 11266using ToolStrip parent = new(); 11299using ToolStrip parent = new(); 11381using ToolStrip owner = new(); 11419using ToolStrip owner = new(); 11470using ToolStrip parent = new(); 11501using ToolStrip parent = new(); 11569using ToolStrip owner = new(); 11599using ToolStrip owner = new(); 11643using ToolStrip parent = new(); 11673using ToolStrip parent = new(); 11862using ToolStrip owner = new() 11894using ToolStrip parent = new() 11962using ToolStrip owner = new() 11994using ToolStrip owner = new() 12027using ToolStrip parent = new() 12059using ToolStrip parent = new() 12226using ToolStrip owner = new() 12291using ToolStrip owner = new(); 12337using ToolStrip owner = new(); 12402using ToolStrip parent = new(); 12439using ToolStrip parent = new(); 12548yield return new object[] { enabled, visible, image, allowDrop, null, new ToolStrip() }; 12549yield return new object[] { enabled, visible, image, allowDrop, new ToolStrip(), null }; 12550yield return new object[] { enabled, visible, image, allowDrop, new ToolStrip(), new ToolStrip() }; 12759using ToolStrip owner = new(); 12809using ToolStrip owner = new(); 12872using ToolStrip parent = new(); 12915using ToolStrip parent = new(); 12995using ToolStrip owner = new(); 13045using ToolStrip owner = new(); 13108using ToolStrip parent = new(); 13151using ToolStrip parent = new(); 13280using ToolStrip owner = new(); 13324using ToolStrip owner = new(); 13390using ToolStrip owner = new(); 13456using ToolStrip owner = new(); 13516using ToolStrip parent = new(); 13560using ToolStrip parent = new(); 13691using ToolStrip control = new(); 13760using ToolStrip owner = new(); 13812using ToolStrip owner = new(); 13880using ToolStrip parent = new(); 13917using ToolStrip parent = new(); 14007using ToolStrip parent = new(); 14376using ToolStrip owner = new(); 14395using ToolStrip owner = new(); 14465using ToolStrip parent = new(); 14484using ToolStrip parent = new(); 14598using ToolStrip owner = new(); 14645using ToolStrip owner = new(); 14719using ToolStrip parent = new(); 14773using ToolStrip parent = new(); 14945using ToolStrip owner = new(); 14988using ToolStrip owner = new(); 15034using ToolStrip owner = new(); 15083using ToolStrip parent = new(); 15126using ToolStrip parent = new(); 15160using ToolStrip parent = new();
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (2)
16using ToolStrip toolStrip1 = new(); 17using ToolStrip toolStrip2 = new();
System\Windows\Forms\ToolStripPanelTests.cs (2)
346using ToolStrip toolStrip1 = new(); 347using ToolStrip toolStrip2 = new();
System\Windows\Forms\ToolStripRendererTests.cs (4)
138yield return new object[] { new ToolStripGripRenderEventArgs(graphics, new ToolStrip()) }; 475yield return new object[] { new ToolStrip() }; 522yield return new object[] { new ToolStripRenderEventArgs(graphics, new ToolStrip()) }; 667yield return new object[] { new ToolStrip() };
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (8)
16yield return new object[] { null, new ToolStrip() }; 29yield return new object[] { new ToolStrip(), new Rectangle(0, 0, 100, 25), SystemColors.Control }; 30yield return new object[] { new ToolStrip() { BackColor = Color.Red }, new Rectangle(0, 0, 100, 25), Color.Red }; 52yield return new object[] { new ToolStrip(), new Rectangle(1, 2, 3, 4), Color.Empty, SystemColors.Control }; 53yield return new object[] { new ToolStrip() { BackColor = Color.Red }, new Rectangle(1, 2, 3, 4), Color.Empty, Color.Red }; 56yield return new object[] { new ToolStrip() { BackColor = Color.Red }, new Rectangle(1, 2, 3, 4), Color.Blue, Color.Blue }; 76yield return new object[] { new ToolStrip() }; 82ToolStrip owner = new();
System\Windows\Forms\ToolStripSeparatorTests.cs (15)
800using ToolStrip owner = new() 848using ToolStrip parent = new() 941using ToolStrip owner = new(); 972using ToolStrip owner = new(); 1016using ToolStrip parent = new(); 1047using ToolStrip parent = new(); 1130using ToolStrip owner = new() 1166using ToolStrip parent = new() 1217using ToolStrip owner = new() 1222using ToolStrip parent = new() 1288using ToolStrip owner = new() 1341using ToolStrip owner = new(); 1342using ToolStrip parent = new(); 1398using ToolStrip owner = new(); 1521using ToolStrip parent = new();
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
13using ToolStrip toolStrip = new();
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (1)
16_toolStrip = new();
System\Windows\Forms\ToolStripTests.cs (121)
326Assert.Throws<ArgumentNullException>("toolStripItems", () => new ToolStrip(null)); 332Assert.Throws<ArgumentNullException>("value", () => new ToolStrip([null])); 359using ToolStrip control = new() 384using ToolStrip control = new(); 413using ToolStrip control = new(); 450using ToolStrip control = new(); 497using ToolStrip control = new(); 529using ToolStrip control = new(); 573using ToolStrip control = new() 588using ToolStrip control = new() 609using ToolStrip control = new(); 638using ToolStrip control = new(); 674using ToolStrip control = new() 689using ToolStrip control = new() 711using ToolStrip control = new(); 774using ToolStrip control = new(); 802using ToolStrip control = new(); 819using ToolStrip control = new(); 846using ToolStrip control = new(); 868using ToolStrip control = new() 885using ToolStrip control = new(); 913using ToolStrip control = new() 971using ToolStrip control = new() 1022using ToolStrip control = new() 1067using ToolStrip control = new() 1088using ToolStrip control = new() 1103using ToolStrip control = new() 1120using ToolStrip control = new() 1137using ToolStrip control = new() 1155using ToolStrip control = new(); 1198using ToolStrip control = new(); 1225using ToolStrip control = new(); 1273using ToolStrip control = new() 1294using ToolStrip control = new() 1333using ToolStrip control = new() 1349using ToolStrip control = new(); 1391using ToolStrip control = new(); 1405using ToolStrip control = new() 1426using ToolStrip control = new() 1460using ToolStrip control = new(); 1504using ToolStrip control = new(); 1569using ToolStrip control = new(); 1627using ToolStrip toolStrip1 = new(); 1647using ToolStrip toolStrip1 = new(); 1748using ToolStrip control = new() 1774using ToolStrip control = new() 1878using ToolStrip control = new() 1909using ToolStrip control = new() 2014using ToolStrip control = new() 2159using ToolStrip control = new() 2176using ToolStrip control = new(); 2205using ToolStrip control = new(); 2221using ToolStrip control = new(); 2241using ToolStrip control = new(); 2372using ToolStrip control = new() 2456using ToolStrip control = new() 2562using ToolStrip control = new() 2627using ToolStrip control = new() 2666using ToolStrip control = new(); 2674using ToolStrip control = new() 2690using ToolStrip control = new(); 2726using ToolStrip control = new(); 2744using ToolStrip control = new(); 2764using ToolStrip control = new(); 2794using ToolStrip control = new(); 2824using ToolStrip control = new(); 2863using ToolStrip control = new(); 2892using ToolStrip control = new() 2920using ToolStrip control = new() 2984using ToolStrip control = new() 3087using ToolStrip control = new() 3148using ToolStrip control = new() 3187using ToolStrip control = new(); 3230using ToolStrip control = new() 3253using ToolStrip control = new(); 3297using ToolStrip control = new(); 3340using ToolStrip control = new() 3376using ToolStrip control = new(); 3404using ToolStrip control = new(); 3432using ToolStrip control = new(); 3439using ToolStrip control = new(); 3449using ToolStrip control = new(); 3477using ToolStrip control = new(); 3507using ToolStrip control = new(); 3528using ToolStrip control = new(); 3564using ToolStrip control = new(); 3584using ToolStrip control = new() 3607using ToolStrip control = new(); 3631using ToolStrip control = new(); 3656using ToolStrip control = new() 3678using ToolStrip control = new(); 3779using ToolStrip control = new() 3821using ToolStrip control = new(); 3850using ToolStrip control = new(); 3892using ToolStrip control = new(); 3929using ToolStrip control = new(); 3972using ToolStrip control = new(); 4031using ToolStrip control = new(); 4093using ToolStrip control = new(); 4101using ToolStrip control = new() 4169using ToolStrip control = new() 4357using ToolStrip control = new(); 4408using ToolStrip control = new() 4462using ToolStrip control = new(); 4778using ToolStrip toolStrip = new(); 4787using ToolStrip toolStrip = new(); 4810using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 4831using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 4856using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 4877using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 7042using ToolStrip control = new(); 7112using ToolStrip otherControl = new(); 7135using ToolStrip otherControl = new(); 7291using ToolStrip toolStrip = new() { LayoutStyle = toolStripLayoutStyle, TabStop = tabStop, GripStyle = gripStyle }; 7377using ToolStrip toolStrip = new(); 7390using ToolStrip toolStrip = new(); 7399using ToolStrip toolStrip = new(); 7411using ToolStrip toolStrip = new(); 7423using var toolStrip = new ToolStrip() { AutoScrollMargin = new Size(10, 20) }; 7431using ToolStrip toolStrip = new(); 7453using ToolStrip toolStrip = new() { GripMargin = new Padding(1) };
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
15using ToolStrip toolStrip = new ToolStrip
TrackBarTests.cs (1)
399using ToolStrip control = new()
System.Windows.Forms.UI.IntegrationTests (4)
Dpi\ToolStripItemTests.Dpi.cs (1)
37using ToolStrip toolStrip = new();
DragDropTests.cs (2)
900public ToolStrip ToolStrip = new(); 960ToolStrip = new()
ToolStripTests.cs (1)
37using ToolStrip toolStrip = new()
WinFormsControlsTest (6)
DragDrop.cs (1)
439ToolStrip toolStrip = new()
ToolStripSeparatorPreferredSize.cs (1)
32_toolStrip1 = new System.Windows.Forms.ToolStrip();
ToolStripTests.Designer.cs (4)
34this.toolStrip1 = new System.Windows.Forms.ToolStrip(); 43this.toolStrip2 = new System.Windows.Forms.ToolStrip(); 56this.toolStrip3 = new System.Windows.Forms.ToolStrip(); 59this.toolStrip4 = new System.Windows.Forms.ToolStrip();
1067 references to ToolStrip
Accessibility_Core_App (6)
Menu_Toolbars_controls.Designer.cs (1)
650private 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. 62foreach (ToolStripItem item in ((ToolStrip)printPreviewDialog1.Controls[1]).Items)
RemainingControls.cs (2)
13foreach (ToolStripItem item in ((ToolStrip)propertyGrid1.Controls[3]).Items) 23foreach (ToolStripItem item in ((ToolStrip)propertyGrid2.Controls[3]).Items)
ToolStripContainer.Designer.cs (1)
618private System.Windows.Forms.ToolStrip toolStrip1;
System.Windows.Forms (253)
System\Windows\Forms\Control.cs (1)
10189if (ctl._parent is ToolStrip)
System\Windows\Forms\Controls\Menus\MenuTimer.cs (1)
133internal void HandleToolStripMouseLeave(ToolStrip toolStrip)
System\Windows\Forms\Controls\ToolStrips\MergeHistory.cs (2)
10public MergeHistory(ToolStrip mergedToolStrip) 18public ToolStrip MergedToolStrip { get; }
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (7)
2354ToolStrip toolStrip = (ToolStrip)container; 2418ToolStrip toolStrip = (ToolStrip)container; 2507internal virtual ToolStrip? GetToplevelOwnerToolStrip() 4188protected static void SetItemParent(ToolStripItem item, ToolStrip parent) 4556internal void SnapFocusChange(ToolStrip otherToolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (2)
10private readonly ToolStrip _ownerToolStrip; 12public RestoreFocusMessageFilter(ToolStrip ownerToolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (11)
13public ToolStripAccessibleObject(ToolStrip owner) : base(owner) 18=> this.IsOwnerHandleCreated(out ToolStrip? _) ? HitTest((int)x, (int)y) : null; 25if (!this.IsOwnerHandleCreated(out ToolStrip? owner)) 43if (!this.TryGetOwnerAs(out ToolStrip? owner) || owner.Items is null) 123if (!this.TryGetOwnerAs(out ToolStrip? owner) || owner.Items is null) 152if (!this.TryGetOwnerAs(out ToolStrip? owner) || fragmentIndex < 0) 261if (!this.TryGetOwnerAs(out ToolStrip? owner) || owner.OverflowItems is null) 271if (!this.TryGetOwnerAs(out ToolStrip? owner) || owner.DisplayedItems is null) 281if (!this.TryGetOwnerAs(out ToolStrip? owner) || owner.Items is null) 326if (!this.TryGetOwnerAs(out ToolStrip? owner) || owner.Items is null) 384if (!this.IsOwnerHandleCreated(out ToolStrip? _))
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (4)
683protected override void OnParentChanged(ToolStrip? oldParent, ToolStrip? newParent) 690= GetControlCollection(_control.ParentInternal as ToolStrip); 796private static ReadOnlyControlCollection? GetControlCollection(ToolStrip? toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripCustomIComparer.cs (3)
6internal class ToolStripCustomIComparer : IComparer<ToolStrip> 8public int Compare(ToolStrip? x, ToolStrip? y)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (12)
517ToolStrip? ownerToolStrip = OwnerToolStrip; 530ToolStrip? ownerToolStrip = OwnerToolStrip; 713internal ToolStrip? OwnerToolStrip 719ToolStrip? owner = _ownerItem.ParentInternal; 995ToolStrip? toplevelOwnerToolStrip = GetToplevelOwnerToolStrip(); 1177internal override ToolStrip? GetToplevelOwnerToolStrip() 1432ToolStrip? toplevelToolStrip = GetToplevelOwnerToolStrip(); 1482ToolStrip? toplevel = GetToplevelOwnerToolStrip(); 1808ToolStrip? topLevelToolStrip = GetToplevelOwnerToolStrip(); 1809ToolStrip? parentToolStrip = OwnerItem?.ParentInternal; 1896ToolStrip? toolStrip = GetToplevelOwnerToolStrip(); 2170internal static ToolStripDropDown? GetFirstDropDown(ToolStrip start)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
127ToolStrip? parent = ParentInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (1)
166if (_owner.DropDown.AccessibilityObject is ToolStrip.ToolStripAccessibleObject toolStripAccessibleObject)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (4)
17private readonly ToolStrip _owner; 19public ToolStrip Owner => _owner; 21public ToolStripDropTargetManager(ToolStrip owner) 224if (dragEnterArgs.DropImageType > DropImageType.Invalid && _owner is ToolStrip toolStrip && toolStrip.IsHandleCreated)
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (2)
14private Point _lastEndLocation = ToolStrip.s_invalidMouseEnter; 49_lastEndLocation = ToolStrip.s_invalidMouseEnter;
System\Windows\Forms\Controls\ToolStrips\ToolStripGripRenderEventArgs.cs (1)
13public ToolStripGripRenderEventArgs(Graphics g, ToolStrip toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
58ToolStrip toolStrip = e.ToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (16)
32private ToolStrip? _parent; 33private ToolStrip? _owner; 1210ToolStrip? parent = ParentInternal; 1413public ToolStrip? Owner 1483protected internal ToolStrip? Parent 1535internal ToolStrip? ParentInternal 1542ToolStrip? oldParent = _parent; 1569ToolStrip? ownerToolStrip = Owner; 1628/// Returns the parent <see cref="ToolStrip"/>'s renderer 2350public ToolStrip? GetCurrentParent() => Parent; 2688ToolStrip? parent = ParentInternal; 2917protected virtual void OnParentChanged(ToolStrip? oldParent, ToolStrip? newParent) 3220internal void SetOwner(ToolStrip? newOwner) 3475ToolStrip? parent = ParentInternal; 3549internal ToolStrip? RootToolStrip
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (9)
93/// For <see cref="ToolStrip" /> hash code is unique even with child controls. 235ToolStrip? parent = Owner.ParentInternal; 363if (Parent is ToolStrip.ToolStripAccessibleObject toolStripParent) 373if (toolStripOverflowButtonParent.Parent is ToolStrip.ToolStripAccessibleObject toolStripGrandParent) 389if (Parent is ToolStrip.ToolStripAccessibleObject toolStripParent) 396if (toolStripOverflowButtonParent.Parent is ToolStrip.ToolStripAccessibleObject toolStripGrandParent) 412if (Parent is ToolStrip.ToolStripAccessibleObject toolStripParent) 419if (toolStripOverflowButtonParent.Parent is ToolStrip.ToolStripAccessibleObject toolStripGrandParent) 447ToolStrip? root = _ownerItem.RootToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (2)
54protected virtual ToolStrip? ParentInternal => _ownerItem?.ParentInternal; 183ToolStrip? parent = ParentInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.ToolStripLayoutData.cs (2)
18public ToolStripLayoutData(ToolStrip toolStrip) 25public bool IsCurrent(ToolStrip? toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (5)
16private readonly ToolStrip? _owner; 24internal ToolStripItemCollection(ToolStrip? owner, bool itemsCollection) 29internal ToolStripItemCollection(ToolStrip? owner, bool itemsCollection, bool isReadOnly) 36public ToolStripItemCollection(ToolStrip owner, ToolStripItem[] value) 382ToolStrip? parent = item.ParentInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripItemRenderEventArgs.cs (1)
32public ToolStrip? ToolStrip => Item.ParentInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (2)
256ToolStrip? parent = Parent; 271ToolStrip? 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)
16private static WeakRefCollection<ToolStrip>? t_activeToolStrips; 133internal static WeakRefCollection<ToolStrip> ToolStrips 149public static ToolStrip? FindToolStrip(string toolStripName) 151foreach (ToolStrip toolStrip in ToolStrips) 165internal static ToolStrip? FindToolStrip(Form owningForm, string toolStripName) 167ToolStrip? result = null; 168foreach (ToolStrip toolStrip in ToolStrips) 183private static bool CanChangeSelection(ToolStrip start, ToolStrip toolStrip) 212private static bool ChangeSelection(ToolStrip start, ToolStrip toolStrip) 295foreach (ToolStrip toolStrip in ToolStrips) 325internal static bool SelectNextToolStrip(ToolStrip start, bool forward) 333ToolStrip? wrappedControl = null; 334ToolStrip? nextControl = null; 344if (ToolStrips[index] is not ToolStrip toolStrip || 717foreach (ToolStrip toolStrip in ToolStrips) 796foreach (ToolStrip toolStrip in ToolStrips) 844ToolStrip? topMostToolStrip = toolStrip.GetToplevelOwnerToolStrip(); 1059internal static List<ToolStrip> FindMergeableToolStrips(ContainerControl? container) 1061List<ToolStrip> result = []; 1064foreach (ToolStrip toolStrip in ToolStrips) 1078private static bool IsSpecialMDIStrip(ToolStrip toolStrip) 1084public static bool Merge(ToolStrip sourceToolStrip, ToolStrip targetToolStrip) 1256public static bool Merge(ToolStrip sourceToolStrip, string targetName) 1261ToolStrip? target = FindToolStrip(targetName); 1268internal static bool RevertMergeInternal(ToolStrip targetToolStrip, ToolStrip? sourceToolStrip, bool revertMDIControls) 1304Stack<ToolStrip> reApply = new(); 1349ToolStrip mergeAgain = reApply.Pop(); 1365public static bool RevertMerge(ToolStrip targetToolStrip) 1371public static bool RevertMerge(ToolStrip targetToolStrip, ToolStrip sourceToolStrip) 1378=> FindToolStrip(targetName) is ToolStrip target && RevertMerge(target);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (16)
36private List<ToolStrip>? _inputFilterQueue; 46private ToolStrip? _toplevelToolStrip; 234internal static ToolStrip? GetActiveToolStrip() => Instance.GetActiveToolStripInternal(); 236internal ToolStrip? GetActiveToolStripInternal() 249private ToolStrip? GetCurrentTopLevelToolStrip() 253ToolStrip? activeToolStrip = GetActiveToolStripInternal(); 272if (Control.FromHandle(m.HWnd) is ToolStrip toolStrip && !toolStrip.IsDropDown) 331ToolStrip? activeToolStrip = GetActiveToolStripInternal(); 388internal static void SetActiveToolStrip(ToolStrip toolStrip, bool menuKeyPressed) 398internal static void SetActiveToolStrip(ToolStrip toolStrip) 401private void SetActiveToolStripCore(ToolStrip toolStrip) 436ToolStrip? currentActiveToolStrip = GetActiveToolStripInternal(); 489internal static void RemoveActiveToolStrip(ToolStrip toolStrip) 494private void RemoveActiveToolStripCore(ToolStrip toolStrip) 529ToolStrip? activeToolStrip = GetActiveToolStrip(); 589ToolStrip? toplevelToolStrip = GetCurrentTopLevelToolStrip();
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
30private ToolStrip? _lastOwner; 376ToolStrip? owner = Owner;
System\Windows\Forms\Controls\ToolStrips\ToolStripNumericUpDown.ToolStripNumericUpDownControl.cs (1)
10public ToolStrip? ParentToolStrip { get; private set; }
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
42private ToolStrip? ParentToolStrip
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (3)
14private readonly ToolStrip _parentToolStrip; 19internal ToolStripOverflowButton(ToolStrip parentToolStrip) 49internal ToolStrip ParentToolStrip => _parentToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (15)
419private Point GetStartLocation(ToolStrip toolStripToDrag) 459var toolStrip = e.Control as ToolStrip; 541var toolStrip = controls[i] as ToolStrip; 654var toolStrip = controlArray[i] as ToolStrip; 677private void GiveToolStripPanelFeedback(ToolStrip toolStripToDrag, Point screenLocation) 720public void Join(ToolStrip toolStripToDrag) 725public void Join(ToolStrip toolStripToDrag, int row) 752public void Join(ToolStrip toolStripToDrag, int x, int y) 757public void Join(ToolStrip toolStripToDrag, Point location) 781internal void MoveControl(ToolStrip? toolStripToDrag, Point screenLocation) 801private void MoveInsideContainer(ToolStrip toolStripToDrag, Point clientLocation) 994private 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)
18private ToolStrip _wrappedToolStrip; 48if (control is not ToolStrip toolStrip) 50throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))), control.GetType().Name);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (7)
280public bool CanMove(ToolStrip toolStripToDrag) 354internal Size GetMinimumSize(ToolStrip toolStrip) 475Size minSize = GetMinimumSize((ToolStrip)currentCell.Control); 572Size minSize = GetMinimumSize((ToolStrip)currentCell.Control); 718internal void MoveControl(ToolStrip movingControl, Point startClientLocation, Point endClientLocation) 723internal void JoinRow(ToolStrip toolStripToDrag, Point locationToDrag) 728internal void LeaveRow(ToolStrip toolStripToDrag)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (5)
80public override bool CanMove(ToolStrip toolStripToDrag) 88totalSize += Row.GetMinimumSize((ToolStrip)Row.ControlsInternal[i]); 139public override void MoveControl(ToolStrip movingControl, Point clientStartLocation, Point clientEndLocation) 350public override void LeaveRow(ToolStrip toolStripToDrag) 391public override void JoinRow(ToolStrip toolStripToDrag, Point locationToDrag)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (2)
78throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))); 210throw new NotSupportedException(string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip)));
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowManager.cs (4)
19public virtual bool CanMove(ToolStrip toolStripToDrag) 171public virtual void MoveControl(ToolStrip movingControl, Point startClientLocation, Point endClientLocation) 176public virtual void LeaveRow(ToolStrip toolStripToDrag) 180public virtual void JoinRow(ToolStrip toolStripToDrag, Point locationToDrag)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (5)
82public override bool CanMove(ToolStrip toolStripToDrag) 90totalSize += Row.GetMinimumSize((ToolStrip)Row.ControlsInternal[i]); 141public override void MoveControl(ToolStrip movingControl, Point clientStartLocation, Point clientEndLocation) 398public override void JoinRow(ToolStrip toolStripToDrag, Point locationToDrag) 560public override void LeaveRow(ToolStrip toolStripToDrag)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (7)
118ToolStrip toolStrip = e.ToolStrip; 401ToolStrip toolStrip = e.ToolStrip; 484ToolStrip toolStrip = e.ToolStrip; 834internal override Region? GetTransparentRegion(ToolStrip toolStrip) 903ToolStrip toolStrip = e.ToolStrip; 1173ToolStrip toolStrip = e.ToolStrip; 1339ToolStrip toolStrip = e.ToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
561internal virtual Region? GetTransparentRegion(ToolStrip toolStrip) 566protected internal virtual void Initialize(ToolStrip toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventArgs.cs (3)
15public ToolStripRenderEventArgs(Graphics g, ToolStrip toolStrip) 25ToolStrip toolStrip, 48public ToolStrip ToolStrip { get; }
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (2)
171ToolStrip? parent = ParentInternal ?? Owner; 259ToolStrip? parent = ParentInternal ?? Owner;
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (16)
28List<ToolStrip> toolStripControls = []; 31foreach (ToolStrip toolStrip in toolStripControls) 50List<ToolStrip> toolStripControls = []; 53foreach (ToolStrip toolStrip in toolStripControls) 72internal static string GetItemOrder(ToolStrip toolStrip) 101Dictionary<string, ToolStrip> itemLocationHash = BuildItemOriginationHash(); 116ToolStrip? toolStrip = ToolStripManager.FindToolStrip(_form, toolStripSettings.Name); 161ToolStrip? toolStrip = ToolStripManager.FindToolStrip(_form, settings.Name); 174private static void ApplyToolStripSettings(ToolStrip? toolStrip, SettingsStub settings, Dictionary<string, ToolStrip> itemLocationHash) 198if (!string.IsNullOrEmpty(key) && itemLocationHash.TryGetValue(key, out ToolStrip? value)) 210private Dictionary<string, ToolStrip> BuildItemOriginationHash() 212Dictionary<string, ToolStrip> itemLocationHash = []; 214List<ToolStrip> toolStripControls = []; 217foreach (ToolStrip toolStrip in toolStripControls) 275private string GetSettingsKey(ToolStrip toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
22public SettingsStub(ToolStrip toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonButtonLayout.cs (1)
30protected override ToolStrip? ParentInternal
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (7)
14private readonly ToolStrip _owner; 16public ToolStripSplitStackDragDropHandler(ToolStrip owner) 143insertionRect = new Rectangle(_owner.Margin.Left, item.Bounds.Top, _owner.Width - (_owner.Margin.Horizontal) - 1, ToolStrip.s_insertionBeamWidth); 146insertionRect = new Rectangle(_owner.Margin.Left, item.Bounds.Bottom, _owner.Width - (_owner.Margin.Horizontal) - 1, ToolStrip.s_insertionBeamWidth); 149insertionRect = new Rectangle(item.Bounds.Right, _owner.Margin.Top, ToolStrip.s_insertionBeamWidth, _owner.Height - (_owner.Margin.Vertical) - 1); 152insertionRect = new Rectangle(item.Bounds.Left, _owner.Margin.Top, ToolStrip.s_insertionBeamWidth, _owner.Height - (_owner.Margin.Vertical) - 1); 162insertionRect.Width = ToolStrip.s_insertionBeamWidth;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (14)
14internal ToolStripSplitStackLayout(ToolStrip owner) 33ToolStrip toolStrip = ToolStrip; 52public ToolStrip ToolStrip { get; } 61ToolStrip toolStrip = ToolStrip; 111ToolStrip toolStrip = ToolStrip; 156if (!(container is ToolStrip)) 163return ToolStrip.GetPreferredSizeHorizontal(container, proposedConstraints); 167return ToolStrip.GetPreferredSizeVertical(container); 182if (!(container is ToolStrip)) 210ToolStrip toolStrip = ToolStrip; 356ToolStrip toolStrip = ToolStrip; 372toolStripPreferredSize = ToolStrip.GetPreferredSizeVertical(toolStrip) - toolStrip.Padding.Size; 522ToolStrip toolStrip = ToolStrip; 545ToolStrip toolStrip = ToolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
185ToolStrip toolStrip = e.ToolStrip; 237ToolStrip toolStrip = e.ToolStrip; 679ToolStrip? parent = item.GetCurrentParent();
System\Windows\Forms\Form.cs (3)
6398ToolStrip? thisToolstrip = MainMenuStrip; 6399List<ToolStrip> childrenToolStrips = ToolStripManager.FindMergeableToolStrips(ActiveMdiChildInternal); 6414foreach (ToolStrip sourceToolStrip in childrenToolStrips)
System\Windows\Forms\OLE\DropTarget.cs (1)
29&& toolStripTargetManager?.Owner is ToolStrip toolStrip
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
22private ToolStrip _toolStrip1;
System.Windows.Forms.Design (115)
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
169newParent = control is ToolStrip ? GetParent(control) : _toolStripContainer.ContentPanel;
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (6)
35if (component is ToolStrip) 145if (controls[0] is not ToolStrip control) 158control = (ToolStrip)temp[0]; 195if (controls.Count == 1 && control is ToolStrip) 230if (dragComponent is ToolStrip tool && tool.Parent != _relatedControl) 270if (item.GetType(host) == typeof(ToolStrip)
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (2)
46ToolStrip toolStrip = _designer.Component as ToolStrip;
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (3)
35internal GlyphCollection GetGlyphs(ToolStrip parent, GlyphCollection glyphs, Behavior.Behavior standardBehavior) 66if (Control is ToolStrip miniToolStrip) 78if (Control is ToolStrip miniToolStrip)
System\Windows\Forms\Design\DocumentDesigner.cs (1)
955&& ce.Component is not ToolStrip
System\Windows\Forms\Design\FormDocumentDesigner.cs (2)
363if (ce.Component is ToolStrip && _toolStripAdornerWindowService is null && TryGetService(out IDesignerHost _)) 375if (ce.Component is ToolStrip && _toolStripAdornerWindowService is not null)
System\Windows\Forms\Design\StandardMenuStripVerb.cs (2)
55CreateStandardToolStrip(_host, (ToolStrip)_designer.Component); 261private void CreateStandardToolStrip(IDesignerHost host, ToolStrip tool)
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (2)
31private ToolStrip ParentTool 67ToolStrip parent = ParentTool;
System\Windows\Forms\Design\ToolStripActionList.cs (2)
11private readonly ToolStrip _toolStrip; 20_toolStrip = (ToolStrip)designer.Component;
System\Windows\Forms\Design\ToolStripCodeDomSerializer.cs (1)
12if (parent is not ToolStrip toolStrip)
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (2)
176else if (typeof(ToolStrip).IsAssignableFrom(toolType)) 349else if (typeof(ToolStrip).IsAssignableFrom(toolType))
System\Windows\Forms\Design\ToolStripDesigner.cs (12)
32private ToolStrip _miniToolStrip; // the toolStrip that hosts the "New Template Node" button 278internal ToolStrip EditorToolStrip 409protected ToolStrip ToolStrip 411get => (ToolStrip)Component; 893if (_toolStripSelected && e.Component is ToolStrip) 1018ToolStrip parent = changingItem.Owner; 1357if (comp is ToolStrip) 1544if (c is ToolStrip && (c != ToolStrip)) 1568if (c is ToolStrip && menu is null) 1792if (selComp is ToolStrip) 1820ToolStrip parentToolStrip = ToolStrip; 2197if (sender is ToolStrip tool && !tool.Visible)
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (6)
87private static ToolStrip GetToolStripFromComponent(IComponent component) 89ToolStrip parent; 103parent = component as ToolStrip; 193ToolStrip toolStrip = GetToolStripFromComponent(component); 212private static ToolStripItemDesignerAvailability GetDesignerVisibility(ToolStrip toolStrip) 252ToolStrip toolStrip = GetToolStripFromComponent(component);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
80get => ((ToolStrip)Component).Items;
System\Windows\Forms\Design\ToolStripInSituService.cs (1)
235if (comp is ToolStrip)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (7)
50ToolStrip oldSelectionParent = oldSelection.GetCurrentParent(); 51ToolStrip newSelectionParent = newSelection.GetCurrentParent(); 395ToolStrip parent = null; 552ToolStrip parentToolStrip = itemDesigner.GetMainToolStrip(); 600ToolStrip owner = selectedItem.Owner; 657ToolStrip parentToolStrip = currentDropItem.GetCurrentParent(); 982ToolStrip parentToolStrip = itemDesigner.GetMainToolStrip();
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
58private ToolStrip ParentTool 514ToolStrip parent = ParentTool;
System\Windows\Forms\Design\ToolStripItemDataObject.cs (2)
11internal ToolStripItemDataObject(List<ToolStripItem> dragComponents, ToolStripItem primarySelection, ToolStrip owner) : base() 20internal ToolStrip Owner { get; }
System\Windows\Forms\Design\ToolStripItemDesigner.cs (18)
159ToolStrip parent = ToolStripItem.GetCurrentParent(); 175ToolStrip strip = ToolStripItem.Owner; 329ToolStrip immediateParent = ImmediateParent as ToolStrip; 509internal virtual ToolStrip GetMainToolStrip() => ToolStripItem.Owner; 584ToolStrip parent = ToolStripItem.GetCurrentParent(); 724ToolStrip parent = (ToolStrip)ImmediateParent; 948ToolStrip tool = GetMainToolStrip(); 951ToolStrip owner = ImmediateParent as ToolStrip; 1065ToolStrip parent = (ToolStrip)ImmediateParent; 1068parent = ParentComponent as ToolStrip; 1120ToolStrip parent = (ToolStrip)ImmediateParent; 1217ToolStrip parent = ImmediateParent as ToolStrip;
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (23)
176ToolStrip owner = curDesignerNode.GetCurrentParent(); 299private static ToolStripItem GetNextItem(ToolStrip parent, ToolStripItem startItem, ArrowDirection direction) 459if (comp is ToolStrip) 622ToolStrip parent = null; 698ToolStrip parent = item.GetCurrentParent(); 743ToolStrip parent = item.GetCurrentParent(); 784ToolStrip parent = selectedItem.GetCurrentParent(); 798if (selectedObj is ToolStrip) 800ToolStrip parent = selectedObj as ToolStrip; 1113ToolStrip tool = primarySelection as ToolStrip; 1141ToolStrip tool = primarySelection as ToolStrip; 1187else if (item is null && selSvc.PrimarySelection is ToolStrip) 1290ToolStrip mainTool = owner.GetCurrentParent(); 1439if (item.Owner is ToolStrip owner) 1745ToolStrip owner = toolStripItem.Owner; 1841if (targetSelection is null && ctl is ToolStrip wb) 1875ToolStrip parent = item.GetCurrentParent(); 1886if (item.Owner is ToolStrip owner) 1975ToolStrip parent = item.GetCurrentParent(); 2040private void SelectItems(ToolStrip parent)
System\Windows\Forms\Design\ToolStripMenuItemCodeDomSerializer.cs (1)
39ToolStrip? parent = item.GetCurrentParent();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (7)
233ToolStrip mainStrip = GetMainToolStrip(); 1425internal override ToolStrip GetMainToolStrip() 1574ToolStrip main = GetMainToolStrip(); 1820ToolStrip mainStrip = GetMainToolStrip(); 1868ToolStrip mainStrip = GetMainToolStrip(); 2078ToolStrip mainStrip = GetMainToolStrip(); 2127ToolStrip mainStrip = GetMainToolStrip();
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (4)
147=> control is ToolStrip; 174if (!typeof(ToolStrip).IsAssignableFrom(toolType)) 307if (typeof(ToolStrip).IsAssignableFrom(toolType)) 366if (e.Control is not ToolStrip)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (7)
307public ToolStrip EditorToolStrip 403if (_component is ToolStrip && SelectionService is not null) 437ToolStrip parent = _controlHost.GetCurrentParent(); 688if (_component is ToolStrip strip) 1224if (sender is ToolStrip strip) 1338if (_component is ToolStrip strip) 1471if (currentItem is ToolStrip strip)
System.Windows.Forms.Design.Tests (1)
ToolStripDesignerTests.cs (1)
18using ToolStrip toolStrip = new();
System.Windows.Forms.Tests (675)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (4)
1426using ToolStrip toolStrip = new(); 1493using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) }; 1527using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) }; 1565using ToolStrip toolStrip = new() { Size = new Drawing.Size(1000, 25) };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (46)
15using ToolStrip toolStrip = new(); 17var accessibleObject = new ToolStrip.ToolStripAccessibleObject(toolStrip); 25using ToolStrip toolStrip = new() 40using ToolStrip toolStrip = new(); 51using ToolStrip toolStrip = new() 65using ToolStrip toolStrip = new() 79using ToolStrip toolStrip = new(); 107using ToolStrip toolStrip = new(); 131using ToolStrip toolStrip = CreateToolStrip(itemCount: 1, createControl: false); 142using ToolStrip toolStrip = CreateToolStrip(); 151using ToolStrip toolStrip = CreateToolStrip(); 161using ToolStrip toolStrip = new(); 223using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 235using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0); 262using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 1); 274using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0); 297using ToolStrip toolStrip = CreateToolStrip(ToolStripGripStyle.Hidden, layout, dock, size, canOverflow: true, itemCount: 1); 320using ToolStrip toolStrip = CreateToolStrip(ToolStripGripStyle.Hidden, layout, dock, size, canOverflow: false, itemCount: 3); 341using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock: null, size, canOverflow: false, itemCount: 3); 353using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 1); 369using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0); 385using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 401using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 417using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 435using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 453using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 470using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 532using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 544using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0); 555using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0); 567using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 1); 583using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0); 599using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 0); 616using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 632using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 648using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 670using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 692using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 709using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow, itemCount: 2); 740using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: true, itemCount: 3); 779using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: false, itemCount: 3); 818using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: false, itemCount: 2); 854using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: false, itemCount: 3); 879using ToolStrip toolStrip = CreateToolStrip(grip, layout, dock, size, canOverflow: false, itemCount: 3); 937private ToolStrip CreateToolStrip( 947ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxAccessibleObjectTests.cs (1)
11using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxControlAccessibleObjectTests.cs (1)
92using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (1)
69using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripHostedControlAccessibleObjectTests.cs (1)
20using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
74using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObjectTests.cs (4)
26using ToolStrip toolStrip = new(); 55using ToolStrip toolStrip = new(); 101using ToolStrip toolStrip = new(); 190using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (8)
114using ToolStrip toolStrip = new(); 203using ToolStrip toolStrip = new(); 217using ToolStrip toolStrip = new(); 229using ToolStrip toolStrip = new(); 242using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) }; 267using ToolStrip toolStrip = new() { GripStyle = ToolStripGripStyle.Hidden }; 283using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) }; 310using ToolStrip toolStrip = new() { AutoSize = false, Size = new(300, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripOverflow.ToolStripOverflowAccessibleObjectTests.cs (6)
125using ToolStrip toolStrip = CreateToolStripWithOverflow(5); 138using ToolStrip toolStrip = CreateToolStripWithOverflow(5); 155using ToolStrip toolStrip = CreateToolStripWithOverflow(5); 168using ToolStrip toolStrip = CreateToolStripWithOverflow(5); 196private static ToolStrip CreateToolStripWithOverflow(int itemCount) 198ToolStrip toolStrip = new()
System\Windows\Forms\AccessibleObjects\ToolStripOverflowButton.ToolStripOverflowButtonAccessibleObjectTests.cs (6)
14using ToolStrip toolStrip = new(); 25using ToolStrip toolStrip = new(); 38using ToolStrip toolStrip = new(); 67using ToolStrip toolStrip = new(); 82using ToolStrip toolStrip = new() { AutoSize = false, Size = new(30, 30) }; 107using ToolStrip toolStrip = new() { AutoSize = false, Size = new(60, 30) };
System\Windows\Forms\AccessibleObjects\ToolStripProgressBar.ToolStripProgressBarControl.ToolStripProgressBarControlAccessibleObjectTests.cs (2)
102using ToolStrip toolStrip = new(); 119using ToolStrip toolStrip = new() { Size = new Drawing.Size(500, 25) };
System\Windows\Forms\AccessibleObjects\ToolStripScrollButton.ToolStripScrollButtonAccessibleObjectTests.cs (3)
26using ToolStrip toolStrip = new(); 88using ToolStrip toolStrip = new(); 132using ToolStrip toolStrip = new();
System\Windows\Forms\AccessibleObjects\ToolStripSplitButton.ToolStripSplitButtonExAccessibleObjectTests.cs (2)
53using ToolStrip toolStrip = new(); 69using ToolStrip toolStrip = new();
System\Windows\Forms\ControlTests.cs (6)
926using ToolStrip toolStrip1 = new() { TabStop = true, }; 927using ToolStrip toolStrip2 = new() { TabStop = true, }; 954form.Controls.AddRange(new ToolStrip[] { toolStrip1, toolStrip2 }); 983using ToolStrip toolStrip1 = new() { TabStop = true }; 984using ToolStrip toolStrip2 = new() { TabStop = true }; 1011form.Controls.AddRange(new ToolStrip[] { toolStrip1, toolStrip2 });
System\Windows\Forms\FlowLayoutSettingsTests.cs (10)
17using ToolStrip control = new() 47using ToolStrip control = new() 60using ToolStrip control = new() 95using ToolStrip control = new() 106using ToolStrip control = new() 117using ToolStrip control = new() 129using ToolStrip control = new() 169using ToolStrip control = new() 232using ToolStrip control = new() 244using ToolStrip control = new()
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1724using ToolStrip control = new()
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (5)
163using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 173using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 259using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 270using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 299using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\MenuStripTests.cs (5)
354using ToolStrip control = new() 413ToolStrip.ToolStripAccessibleObject instance = Assert.IsAssignableFrom<ToolStrip.ToolStripAccessibleObject>(control.CreateAccessibilityInstance()); 428ToolStrip.ToolStripAccessibleObject instance = Assert.IsAssignableFrom<ToolStrip.ToolStripAccessibleObject>(control.CreateAccessibilityInstance());
System\Windows\Forms\PropertyGridTests.cs (10)
291Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().BackColor); 297Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().BackColor); 322Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().BackColor); 331Assert.Equal(expected, control.Controls.OfType<ToolStrip>().Single().BackColor); 3100Assert.Equal(visible && value, control.Controls.OfType<ToolStrip>().Single().Visible); 3108Assert.Equal(visible && value, control.Controls.OfType<ToolStrip>().Single().Visible); 3116Assert.Equal(visible && !value, control.Controls.OfType<ToolStrip>().Single().Visible); 3146Assert.Equal(visible && value, control.Controls.OfType<ToolStrip>().Single().Visible); 3157Assert.Equal(visible && value, control.Controls.OfType<ToolStrip>().Single().Visible); 3168Assert.Equal(visible && !value, control.Controls.OfType<ToolStrip>().Single().Visible);
System\Windows\Forms\StatusStripTests.cs (2)
549PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(StatusStrip))[nameof(ToolStrip.RenderMode)]; 577PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(StatusStrip))[nameof(ToolStrip.RenderMode)];
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (8)
11using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 23using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 35using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 47using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 61using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 71using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 86using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 99using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (8)
11using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 23using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 35using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 47using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 61using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 71using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 86using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 99using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (23)
13using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 26using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 38using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 50using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 60using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 69using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 81using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 95using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 104using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 113using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 124using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 138using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 154using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 165using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 175using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 187using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 202using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 214using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 223using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 238using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 256using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 270using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 284using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\ToolStrip.ToolStripAccessibleObjectWrapperForItemsOnOverflowTests.cs (4)
17Type type = typeof(ToolStrip) 27using ToolStrip toolStrip = new(); 43using ToolStrip toolStrip = new(); 75using ToolStrip toolStrip = new();
System\Windows\Forms\ToolStripButtonTests.cs (12)
663using ToolStrip owner = new(); 691using ToolStrip owner = new(); 736using ToolStrip parent = new(); 764using ToolStrip parent = new(); 882using ToolStrip owner = new(); 903using ToolStrip owner = new(); 1269using ToolStrip owner = new() 1360using ToolStrip owner = new() 1459using ToolStrip parent = new() 1503using ToolStrip owner = new(); 1541using ToolStrip parent = new(); 1738public new ToolStrip Parent
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (6)
15using ToolStrip toolStrip = new(); 41using ToolStrip toolStrip = new(); 67using ToolStrip toolStrip = new(); 93using ToolStrip toolStrip = new(); 119using ToolStrip toolStrip = new(); 146using ToolStrip toolStrip = new();
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
1327using ToolStrip control = new()
System\Windows\Forms\ToolStripControlHostTests.cs (23)
1384using ToolStrip parent = new(); 1385using ToolStrip otherParent = new(); 1451using ToolStrip owner = new(); 1452using ToolStrip parent = new(); 1453using ToolStrip otherParent = new(); 1529using ToolStrip parent = new(); 3055public void ToolStripControlHost_OnParentChanged_Invoke_Success(bool enabled, bool visible, Image image, bool allowDrop, ToolStrip oldParent, ToolStrip newParent) 3073public void ToolStripControlHost_OnParentChanged_InvokeWithOwner_Success(bool enabled, bool visible, Image image, bool allowDrop, ToolStrip oldParent, ToolStrip newParent) 3075using ToolStrip owner = new(); 3097using ToolStrip parent = new(); 3098using ToolStrip otherParent = new(); 3166using ToolStrip parent = new(); 3167using ToolStrip otherParent = new(); 3242public void ToolStripControlHost_OnParentChanged_InvokeDisposed_Success(bool enabled, bool visible, Image image, bool allowDrop, ToolStrip oldParent, ToolStrip newParent) 3262public void ToolStripControlHost_OnParentChanged_InvokeDisposedWithOwner_Success(bool enabled, bool visible, Image image, bool allowDrop, ToolStrip oldParent, ToolStrip newParent) 3264using ToolStrip owner = new(); 4657public new ToolStrip Parent 4691public 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)] 20int result = _comparer.Compare((ToolStrip)obj1, (ToolStrip)obj2);
System\Windows\Forms\ToolStripDropDownItemTests.cs (3)
406using ToolStrip owner = new() 426using ToolStrip parent = new() 527public new ToolStrip Parent
System\Windows\Forms\ToolStripDropDownTests.cs (6)
1431PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)]; 1447PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)]; 1489using ToolStrip control = new() 1510using ToolStrip control = new()
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (2)
22public void ToolStripGripRenderEventArgs_Null_Graphics_ToolStrip_ThrowsArgumentNullException(Graphics g, ToolStrip toolStrip) 45public void Ctor_Graphics_ToolStrip(Graphics g, ToolStrip toolStrip)
System\Windows\Forms\ToolStripItemRenderEventArgsTests.cs (2)
35ToolStrip toolStrip = new(); 43public void Ctor_Graphics_ToolStripItem(Graphics g, ToolStripItem item, ToolStrip expectedToolStrip)
System\Windows\Forms\ToolStripItemTests.cs (279)
394using ToolStrip toolStrip = new(); 405using ToolStrip parent = new(); 430using ToolStrip parent = new(); 482using ToolStrip owner = new(); 514using ToolStrip owner = new(); 586using ToolStrip owner = new(); 613using ToolStrip owner = new(); 657using ToolStrip parent = new(); 684using ToolStrip parent = new(); 728using ToolStrip parent = new() 751using ToolStrip parent = new(); 809using ToolStrip owner = new(); 841using ToolStrip parent = new(); 893using ToolStrip owner = new(); 939using ToolStrip owner = new(); 1000using ToolStrip parent = new(); 1038using ToolStrip parent = new(); 1214using ToolStrip owner = new(); 1257using ToolStrip owner = new(); 1303using ToolStrip owner = new(); 1352using ToolStrip parent = new(); 1395using ToolStrip parent = new(); 1429using ToolStrip parent = new(); 1547using ToolStrip owner = new() 1561using ToolStrip parent = new() 1591using ToolStrip owner = new(); 1611using ToolStrip owner = new(); 1644using ToolStrip parent = new(); 1670using ToolStrip parent = new(); 1793using ToolStrip owner = new(); 1813using ToolStrip owner = new(); 1846using ToolStrip parent = new(); 1874using ToolStrip parent = new(); 1922using ToolStrip owner = new(); 1942using ToolStrip owner = new(); 1975using ToolStrip parent = new(); 1999using ToolStrip parent = new(); 2059using ToolStrip owner = new(); 2070using ToolStrip parent = new(); 2134using ToolStrip owner = new(); 2175using ToolStrip owner = new(); 2227using ToolStrip parent = new(); 2251using ToolStrip parent = new(); 2378using ToolStrip owner = new(); 2411using ToolStrip parent = new(); 2470using ToolStrip owner = new() 2492using ToolStrip parent = new() 2618using ToolStrip owner = new(); 2645using ToolStrip owner = new(); 2682using ToolStrip owner = new(); 2710using ToolStrip owner = new(); 2753using ToolStrip parent = new(); 2780using ToolStrip parent = new(); 2817using ToolStrip parent = new(); 2857using ToolStrip parent = new(); 2934using ToolStrip parent = new() 2952using ToolStrip owner = new() 3006using ToolStrip owner = new(); 3047using ToolStrip owner = new(); 3100using ToolStrip parent = new(); 3134using ToolStrip parent = new(); 3237using ToolStrip owner = new() 3251using ToolStrip parent = new() 3281using ToolStrip owner = new(); 3301using ToolStrip owner = new(); 3334using ToolStrip parent = new(); 3363using ToolStrip parent = new(); 3481using ToolStrip owner = new(); 3517using ToolStrip owner = new(); 3569using ToolStrip parent = new(); 3615using ToolStrip parent = new(); 3677using ToolStrip owner = new() 3697using ToolStrip owner = new() 3718using ToolStrip owner = new() 3743using ToolStrip parent = new() 3765using ToolStrip parent = new() 3899using ToolStrip owner = new(); 3944using ToolStrip owner = new(); 4002using ToolStrip parent = new(); 4037using ToolStrip parent = new(); 4105using ToolStrip owner = new() 4150using ToolStrip owner = new() 4198using ToolStrip owner = new(); 4245using ToolStrip owner = new(); 4297using ToolStrip parent = new(); 4329using ToolStrip parent = new(); 4456using ToolStrip owner = new(); 4502using ToolStrip owner = new() 4550using ToolStrip owner = new(); 4606using ToolStrip parent = new(); 4645using ToolStrip parent = new() 4684using ToolStrip parent = new(); 4787using ToolStrip owner = new() 4865using ToolStrip owner = new() 4956using ToolStrip owner = new(); 5004using ToolStrip owner = new() 5050using ToolStrip owner = new(); 5104using ToolStrip parent = new(); 5141using ToolStrip parent = new() 5178using ToolStrip parent = new(); 5286using ToolStrip owner = new() 5378using ToolStrip owner = new() 5425using ToolStrip owner = new(); 5465using ToolStrip owner = new(); 5517using ToolStrip parent = new(); 5549using ToolStrip parent = new(); 5648using ToolStrip owner = new(); 5681using ToolStrip owner = new(); 5715using ToolStrip parent = new(); 5748using ToolStrip parent = new(); 5813using ToolStrip owner = new(); 5835using ToolStrip owner = new() 5851using ToolStrip parent = new(); 5873using ToolStrip parent = new() 5917using ToolStrip owner = new(); 5956using ToolStrip owner = new(); 6008using ToolStrip parent = new(); 6047using ToolStrip parent = new(); 6249using ToolStrip owner = new(); 6294using ToolStrip owner = new(); 6350using ToolStrip parent = new(); 6386using ToolStrip parent = new(); 6442using ToolStrip owner = new(); 6443using ToolStrip otherOwner = new(); 6491using ToolStrip owner = new(); 6492using ToolStrip otherOwner = new(); 6550using ToolStrip owner = new() 6581using ToolStrip owner = new(); 6582using ToolStrip otherOwner = new(); 6631using ToolStrip owner = new(); 6663using ToolStrip parent = new(); 6746using ToolStrip owner = new(); 6785using ToolStrip owner = new(); 6837using ToolStrip parent = new(); 6869using ToolStrip parent = new(); 6964using ToolStrip parent = new(); 6965using ToolStrip otherParent = new(); 7020using ToolStrip parent = new(); 7021using ToolStrip otherParent = new(); 7101using ToolStrip owner = new() 7118using ToolStrip parent = new() 7132using ToolStrip owner = new() 7136using ToolStrip parent = new() 7180using ToolStrip owner = new() 7222using ToolStrip owner = new() 7290using ToolStrip parent = new() 7325using ToolStrip parent = new() 7491using ToolStrip owner = new(); 7529using ToolStrip owner = new(); 7590using ToolStrip parent = new(); 7629using ToolStrip parent = new(); 7709using ToolStrip owner = new(); 7747using ToolStrip parent = new(); 7858using ToolStrip owner = new(); 7894using ToolStrip owner = new(); 7953using ToolStrip parent = new(); 7996using ToolStrip parent = new(); 8084using ToolStrip owner = new(); 8126using ToolStrip owner = new(); 8178using ToolStrip parent = new(); 8211using ToolStrip parent = new(); 8314using ToolStrip owner = new(); 8361using ToolStrip owner = new(); 8413using ToolStrip parent = new(); 8445using ToolStrip parent = new(); 8503using ToolStrip owner = new() 8521using ToolStrip parent = new() 8535using ToolStrip owner = new() 8539using ToolStrip parent = new() 8586using ToolStrip owner = new() 8628using ToolStrip owner = new() 8683using ToolStrip parent = new() 8718using ToolStrip parent = new() 8841using ToolStrip owner = new(); 8884using ToolStrip owner = new(); 8936using ToolStrip parent = new(); 8968using ToolStrip parent = new(); 9132using ToolStrip owner = new() 9154using ToolStrip parent = new() 9264using ToolStrip owner = new(); 9307using ToolStrip owner = new(); 9353using ToolStrip owner = new(); 9402using ToolStrip parent = new(); 9445using ToolStrip parent = new(); 9479using ToolStrip parent = new(); 9648using ToolStrip owner = new(); 9684using ToolStrip owner = new(); 9736using ToolStrip parent = new(); 9782using ToolStrip parent = new(); 9912using ToolStrip owner = new(); 9954using ToolStrip parent = new(); 10065using ToolStrip owner = new(); 10109using ToolStrip parent = new(); 10174using ToolStrip parent = new(); 10188using ToolStrip parent = new() 10205using ToolStrip owner = new(); 10219using ToolStrip owner = new() 10297using ToolStrip parent = new(); 10308using ToolStrip owner = new(); 10340using ToolStrip owner = new(); 10355using ToolStrip parent = new(); 10400using ToolStrip owner = new(); 10416using ToolStrip owner = new(); 10446using ToolStrip parent = new(); 10462using ToolStrip parent = new(); 10510using ToolStrip owner = new(); 10527using ToolStrip owner = new(); 10558using ToolStrip parent = new(); 10575using ToolStrip parent = new(); 10654using ToolStrip owner = new(); 10684using ToolStrip owner = new(); 10728using ToolStrip parent = new(); 10758using ToolStrip parent = new(); 10808using ToolStrip owner = new(); 10832using ToolStrip owner = new(); 10866using ToolStrip parent = new(); 10897using ToolStrip parent = new(); 11187using ToolStrip owner = new(); 11220using ToolStrip owner = new(); 11266using ToolStrip parent = new(); 11299using ToolStrip parent = new(); 11381using ToolStrip owner = new(); 11419using ToolStrip owner = new(); 11470using ToolStrip parent = new(); 11501using ToolStrip parent = new(); 11569using ToolStrip owner = new(); 11599using ToolStrip owner = new(); 11643using ToolStrip parent = new(); 11673using ToolStrip parent = new(); 11862using ToolStrip owner = new() 11894using ToolStrip parent = new() 11962using ToolStrip owner = new() 11994using ToolStrip owner = new() 12027using ToolStrip parent = new() 12059using ToolStrip parent = new() 12226using ToolStrip owner = new() 12291using ToolStrip owner = new(); 12337using ToolStrip owner = new(); 12402using ToolStrip parent = new(); 12439using ToolStrip parent = new(); 12559public void ToolStripItem_OnParentChanged_Invoke_Success(bool enabled, bool visible, Image image, bool allowDrop, ToolStrip oldParent, ToolStrip newParent) 12759using ToolStrip owner = new(); 12809using ToolStrip owner = new(); 12872using ToolStrip parent = new(); 12915using ToolStrip parent = new(); 12995using ToolStrip owner = new(); 13045using ToolStrip owner = new(); 13108using ToolStrip parent = new(); 13151using ToolStrip parent = new(); 13280using ToolStrip owner = new(); 13324using ToolStrip owner = new(); 13390using ToolStrip owner = new(); 13456using ToolStrip owner = new(); 13516using ToolStrip parent = new(); 13560using ToolStrip parent = new(); 13691using ToolStrip control = new(); 13760using ToolStrip owner = new(); 13812using ToolStrip owner = new(); 13880using ToolStrip parent = new(); 13917using ToolStrip parent = new(); 14007using ToolStrip parent = new(); 14376using ToolStrip owner = new(); 14395using ToolStrip owner = new(); 14465using ToolStrip parent = new(); 14484using ToolStrip parent = new(); 14598using ToolStrip owner = new(); 14645using ToolStrip owner = new(); 14719using ToolStrip parent = new(); 14773using ToolStrip parent = new(); 14945using ToolStrip owner = new(); 14988using ToolStrip owner = new(); 15034using ToolStrip owner = new(); 15083using ToolStrip parent = new(); 15126using ToolStrip parent = new(); 15160using ToolStrip parent = new(); 15535public new ToolStrip Parent 15603public new void OnParentChanged(ToolStrip oldParent, ToolStrip newParent) => base.OnParentChanged(oldParent, newParent);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
447public new ToolStrip Parent
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (2)
16using ToolStrip toolStrip1 = new(); 17using ToolStrip toolStrip2 = new();
System\Windows\Forms\ToolStripPanelTests.cs (2)
346using ToolStrip toolStrip1 = new(); 347using ToolStrip toolStrip2 = new();
System\Windows\Forms\ToolStripRendererTests.cs (4)
483public void ToolStripRenderer_DrawStatusStripSizingGrip_Invoke_CallsRenderStatusStripSizingGrip(ToolStrip toolStrip) 672public void ToolStripRenderer_Initialize_Invoke_Nop(ToolStrip toolStrip) 916public void ToolStripRenderer_OnRenderStatusStripSizingGrip_Invoke_Nop(ToolStrip toolStrip) 1023public new void Initialize(ToolStrip toolStrip) => base.Initialize(toolStrip);
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (5)
22public void ToolStripRenderEventArgs_Null_Graphics_ToolStrip_ThrowsArgumentNullException(Graphics g, ToolStrip toolStrip) 37public void ToolStripRenderEventArgs_Ctor_Graphics_ToolStrip(ToolStrip toolStrip, Rectangle expectedAffectedBounds, Color expectedBackColor) 61public void ToolStripRenderEventArgs_Ctor_Graphics_ToolStrip_Rectangle_Color(ToolStrip toolStrip, Rectangle affectedBounds, Color backColor, Color expectedBackColor) 82ToolStrip owner = new(); 90public void ToolStripRenderEventArgs_ConnectedArea_Get_ReturnsEmpty(ToolStrip toolStrip)
System\Windows\Forms\ToolStripSeparatorTests.cs (16)
800using ToolStrip owner = new() 848using ToolStrip parent = new() 941using ToolStrip owner = new(); 972using ToolStrip owner = new(); 1016using ToolStrip parent = new(); 1047using ToolStrip parent = new(); 1130using ToolStrip owner = new() 1166using ToolStrip parent = new() 1217using ToolStrip owner = new() 1222using ToolStrip parent = new() 1288using ToolStrip owner = new() 1341using ToolStrip owner = new(); 1342using ToolStrip parent = new(); 1398using ToolStrip owner = new(); 1521using ToolStrip parent = new(); 1649public new ToolStrip Parent
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
13using ToolStrip toolStrip = new();
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (1)
12private readonly ToolStrip _toolStrip;
System\Windows\Forms\ToolStripTests.cs (131)
359using ToolStrip control = new() 384using ToolStrip control = new(); 413using ToolStrip control = new(); 450using ToolStrip control = new(); 497using ToolStrip control = new(); 529using ToolStrip control = new(); 573using ToolStrip control = new() 588using ToolStrip control = new() 609using ToolStrip control = new(); 638using ToolStrip control = new(); 674using ToolStrip control = new() 689using ToolStrip control = new() 711using ToolStrip control = new(); 774using ToolStrip control = new(); 802using ToolStrip control = new(); 819using ToolStrip control = new(); 846using ToolStrip control = new(); 868using ToolStrip control = new() 885using ToolStrip control = new(); 913using ToolStrip control = new() 971using ToolStrip control = new() 1022using ToolStrip control = new() 1067using ToolStrip control = new() 1088using ToolStrip control = new() 1103using ToolStrip control = new() 1120using ToolStrip control = new() 1137using ToolStrip control = new() 1155using ToolStrip control = new(); 1198using ToolStrip control = new(); 1225using ToolStrip control = new(); 1273using ToolStrip control = new() 1294using ToolStrip control = new() 1333using ToolStrip control = new() 1349using ToolStrip control = new(); 1391using ToolStrip control = new(); 1405using ToolStrip control = new() 1426using ToolStrip control = new() 1460using ToolStrip control = new(); 1504using ToolStrip control = new(); 1569using ToolStrip control = new(); 1627using ToolStrip toolStrip1 = new(); 1647using ToolStrip toolStrip1 = new(); 1748using ToolStrip control = new() 1774using ToolStrip control = new() 1878using ToolStrip control = new() 1909using ToolStrip control = new() 2014using ToolStrip control = new() 2159using ToolStrip control = new() 2176using ToolStrip control = new(); 2204PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)]; 2205using ToolStrip control = new(); 2220PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)]; 2221using ToolStrip control = new(); 2241using ToolStrip control = new(); 2372using ToolStrip control = new() 2456using ToolStrip control = new() 2562using ToolStrip control = new() 2627using ToolStrip control = new() 2666using ToolStrip control = new(); 2674using ToolStrip control = new() 2690using ToolStrip control = new(); 2726using ToolStrip control = new(); 2744using ToolStrip control = new(); 2764using ToolStrip control = new(); 2794using ToolStrip control = new(); 2824using ToolStrip control = new(); 2863using ToolStrip control = new(); 2892using ToolStrip control = new() 2920using ToolStrip control = new() 2984using ToolStrip control = new() 3087using ToolStrip control = new() 3148using ToolStrip control = new() 3187using ToolStrip control = new(); 3230using ToolStrip control = new() 3253using ToolStrip control = new(); 3297using ToolStrip control = new(); 3340using ToolStrip control = new() 3375PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStrip))[nameof(ToolStrip.RenderMode)]; 3376using ToolStrip control = new(); 3403PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStrip))[nameof(ToolStrip.RenderMode)]; 3404using ToolStrip control = new(); 3432using ToolStrip control = new(); 3439using ToolStrip control = new(); 3449using ToolStrip control = new(); 3477using ToolStrip control = new(); 3507using ToolStrip control = new(); 3528using ToolStrip control = new(); 3564using ToolStrip control = new(); 3584using ToolStrip control = new() 3607using ToolStrip control = new(); 3631using ToolStrip control = new(); 3656using ToolStrip control = new() 3678using ToolStrip control = new(); 3779using ToolStrip control = new() 3821using ToolStrip control = new(); 3850using ToolStrip control = new(); 3892using ToolStrip control = new(); 3929using ToolStrip control = new(); 3972using ToolStrip control = new(); 4031using ToolStrip control = new(); 4093using ToolStrip control = new(); 4101using ToolStrip control = new() 4169using ToolStrip control = new() 4208ToolStrip.ToolStripAccessibleObject instance = Assert.IsType<ToolStrip.ToolStripAccessibleObject>(control.CreateAccessibilityInstance()); 4223ToolStrip.ToolStripAccessibleObject instance = Assert.IsType<ToolStrip.ToolStripAccessibleObject>(control.CreateAccessibilityInstance()); 4357using ToolStrip control = new(); 4408using ToolStrip control = new() 4462using ToolStrip control = new(); 4778using ToolStrip toolStrip = new(); 4787using ToolStrip toolStrip = new(); 4810using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 4831using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 4856using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 4877using ToolStrip toolStrip = new() { RightToLeft = rightToLeft, TabStop = tabStop }; 7042using ToolStrip control = new(); 7112using ToolStrip otherControl = new(); 7135using ToolStrip otherControl = new(); 7291using ToolStrip toolStrip = new() { LayoutStyle = toolStripLayoutStyle, TabStop = tabStop, GripStyle = gripStyle }; 7377using ToolStrip toolStrip = new(); 7390using ToolStrip toolStrip = new(); 7399using ToolStrip toolStrip = new(); 7411using ToolStrip toolStrip = new(); 7423using var toolStrip = new ToolStrip() { AutoScrollMargin = new Size(10, 20) }; 7431using ToolStrip toolStrip = new(); 7453using ToolStrip toolStrip = new() { GripMargin = new Padding(1) };
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
15using ToolStrip toolStrip = new ToolStrip
TrackBarTests.cs (1)
399using ToolStrip control = new()
System.Windows.Forms.UI.IntegrationTests (3)
Dpi\ToolStripItemTests.Dpi.cs (1)
37using ToolStrip toolStrip = new();
DragDropTests.cs (1)
900public ToolStrip ToolStrip = new();
ToolStripTests.cs (1)
37using ToolStrip toolStrip = new()
WinFormsControlsTest (14)
Dialogs.cs (4)
55ToolStrip toolbar = GetToolbar(); 68private ToolStrip GetToolbar() 72ToolStrip? toolStrip = control as ToolStrip;
DragDrop.cs (1)
439ToolStrip toolStrip = new()
MessageBoxes.cs (4)
41ToolStrip toolbar = GetToolbar(); 48private ToolStrip GetToolbar() 52ToolStrip? toolStrip = control as ToolStrip;
ToolStripSeparatorPreferredSize.cs (1)
100private ToolStrip _toolStrip1;
ToolStripTests.Designer.cs (4)
463private System.Windows.Forms.ToolStrip toolStrip1; 473private System.Windows.Forms.ToolStrip toolStrip2; 474private System.Windows.Forms.ToolStrip toolStrip3; 475private System.Windows.Forms.ToolStrip toolStrip4;