8 types derived from ToolStripDropDown
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
12
public partial class ToolStripDropDownMenu :
ToolStripDropDown
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObject.cs (1)
9
public partial class ToolStripDropDownMenu :
ToolStripDropDown
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
9
public partial class ToolStripOverflow :
ToolStripDropDown
, IArrangedElement
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (1)
13
private class FeedbackDropDown :
ToolStripDropDown
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
12
internal class DesignerActionToolStripDropDown :
ToolStripDropDown
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripDropDownTests.cs (2)
5073
private class NotTopMostToolStripDropDown :
ToolStripDropDown
5078
private class SubToolStripDropDown :
ToolStripDropDown
System\Windows\Forms\ToolStripTests.cs (1)
7499
private class SubToolStripDropDown :
ToolStripDropDown
113 instantiations of ToolStripDropDown
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
297
return new
ToolStripDropDown
(this, true);
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\ContextMenuStripActionListTests.cs (1)
28
_toolStripDropDown =
new
();
ToolStripDropDownDesignerTest.cs (1)
17
ToolStripDropDown toolStripDropDown =
new
();
System.Windows.Forms.Tests (110)
System\Windows\Forms\AccessibleObjects\ToolStripDropDown.ToolStripDropDownAccessibleObjectTests.cs (4)
14
using ToolStripDropDown toolStripDropDown =
new
();
24
using ToolStripDropDown toolStripDropDown =
new
();
37
using ToolStripDropDown toolStripDropDown =
new
();
66
using ToolStripDropDown toolStripDropDown =
new
();
System\Windows\Forms\ToolStripButtonTests.cs (3)
1568
ToolStripDropDown parent =
new
();
1620
ToolStripDropDown parent =
new
();
1647
ToolStripDropDown parent =
new
();
System\Windows\Forms\ToolStripDropDownItemTests.cs (1)
445
using ToolStripDropDown result =
new
();
System\Windows\Forms\ToolStripDropDownTests.cs (87)
251
using ToolStripDropDown control =
new
()
272
using ToolStripDropDown control =
new
();
301
using ToolStripDropDown control =
new
();
337
using ToolStripDropDown control =
new
()
352
using ToolStripDropDown control =
new
()
383
using ToolStripDropDown control =
new
()
409
using ToolStripDropDown control =
new
()
436
using ToolStripDropDown control =
new
();
482
using ToolStripDropDown control =
new
()
526
using ToolStripDropDown control =
new
()
595
using ToolStripDropDown control =
new
();
623
using ToolStripDropDown control =
new
()
668
using ToolStripDropDown control =
new
();
702
using ToolStripDropDown control =
new
()
757
using ToolStripDropDown control =
new
()
796
using ToolStripDropDown control =
new
()
812
using ToolStripDropDown control =
new
();
873
using ToolStripDropDown control =
new
();
915
using ToolStripDropDown control =
new
()
931
using ToolStripDropDown control =
new
();
974
using ToolStripDropDown control =
new
();
1001
using ToolStripDropDown control =
new
();
1197
using ToolStripDropDown control =
new
()
1223
using ToolStripDropDown control =
new
()
1327
using ToolStripDropDown control =
new
()
1359
using ToolStripDropDown control =
new
()
1386
using ToolStripDropDown control =
new
()
1403
using ToolStripDropDown control =
new
();
1432
using ToolStripDropDown control =
new
();
1448
using ToolStripDropDown control =
new
();
1468
using ToolStripDropDown control =
new
();
1475
using ToolStripDropDown control =
new
();
1544
using ToolStripDropDown control =
new
();
1588
using ToolStripDropDown control =
new
();
1653
using ToolStripDropDown control =
new
();
1709
using ToolStripDropDown control =
new
()
1725
using ToolStripDropDown control =
new
();
1761
using ToolStripDropDown control =
new
();
1777
using ToolStripDropDown control =
new
();
1805
using ToolStripDropDown control =
new
();
1831
using ToolStripDropDown control =
new
()
1848
using ToolStripDropDown control =
new
();
1876
using ToolStripDropDown control =
new
();
1912
using ToolStripDropDown control =
new
();
1938
using ToolStripDropDown control =
new
();
2024
using ToolStripDropDown control =
new
()
2044
using ToolStripDropDown control =
new
()
2073
using ToolStripDropDown control =
new
();
2107
using ToolStripDropDown control =
new
()
2151
using ToolStripDropDown control =
new
();
2197
using ToolStripDropDown control =
new
()
2239
using ToolStripDropDown control =
new
()
2256
using ToolStripDropDown control =
new
();
2284
using ToolStripDropDown control =
new
();
2331
using ToolStripDropDown control =
new
();
2346
using ToolStripDropDown control =
new
()
2367
using ToolStripDropDown control =
new
()
2381
using ToolStripDropDown control =
new
();
2406
using ToolStripDropDown control =
new
();
2442
using ToolStripDropDown control =
new
();
2450
using ToolStripDropDown control =
new
()
2472
using ToolStripDropDown control =
new
();
2511
using ToolStripDropDown control =
new
()
2527
using ToolStripDropDown control =
new
()
2565
using ToolStripDropDown control =
new
();
2573
using ToolStripDropDown control =
new
()
2595
using ToolStripDropDown control =
new
();
2631
using ToolStripDropDown control =
new
()
2670
using ToolStripDropDown control =
new
()
2687
using ToolStripDropDown control =
new
();
2715
using ToolStripDropDown control =
new
();
2754
using ToolStripDropDown control =
new
();
2783
using ToolStripDropDown control =
new
();
3039
using ToolStripDropDown control =
new
();
3094
using ToolStripDropDown control =
new
();
3149
using ToolStripDropDown control =
new
()
3203
using ToolStripDropDown control =
new
();
4237
control.OverflowButton.DropDown = new
ToolStripDropDown
();
4446
control.OverflowButton.DropDown = new
ToolStripDropDown
();
4920
using ToolStripDropDown control =
new
();
4928
using ToolStripDropDown control =
new
();
4936
using ToolStripDropDown control =
new
();
4970
using ToolStripDropDown control =
new
();
4990
using ToolStripDropDown toolStripDropDown =
new
();
5001
using ToolStripDropDown toolStripDropDown =
new
();
5022
using ToolStripDropDown toolStripDropDown =
new
();
5041
using ToolStripDropDown toolStripDropDown =
new
();
System\Windows\Forms\ToolStripItemTests.cs (10)
5823
using ToolStripDropDown owner =
new
();
5861
using ToolStripDropDown parent =
new
();
6648
using ToolStripDropDown owner =
new
()
6674
using ToolStripDropDown parent =
new
()
6689
using ToolStripDropDown owner =
new
()
6694
using ToolStripDropDown parent =
new
()
14014
ToolStripDropDown parent =
new
();
14308
using ToolStripDropDown ownerItemOwner =
new
();
14313
using ToolStripDropDown owner =
new
()
14335
using ToolStripDropDown owner =
new
()
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (3)
31
yield return new object[] { new
ToolStripDropDown
(), new Rectangle(0, 0, 100, 25), SystemColors.Menu };
54
yield return new object[] { new
ToolStripDropDown
(), new Rectangle(1, 2, 3, 4), Color.Empty, SystemColors.Menu };
77
yield return new object[] { new
ToolStripDropDown
() };
System\Windows\Forms\ToolStripTests.cs (2)
5418
control.OverflowButton.DropDown = new
ToolStripDropDown
();
5605
control.OverflowButton.DropDown = new
ToolStripDropDown
();
301 references to ToolStripDropDown
System.Windows.Forms (73)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (7)
162
internal List<
ToolStripDropDown
> ActiveDropDowns { get; } = new(1);
1108
get { return (this is
ToolStripDropDown
); }
1494
var
dropDown = (
ToolStripDropDown
)this;
2075
ToolStripDropDown
? dropDown = this as
ToolStripDropDown
;
2135
if (this is
ToolStripDropDown
dropDown && dropDown.OwnerItem is not null && (dropDown.OwnerItem.IsInDesignMode || (dropDown.OwnerItem.Owner is not null && dropDown.OwnerItem.Owner.IsInDesignMode)))
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (13)
1059
ToolStripDropDown
topmost = GetFirstDropDown();
1065
ToolStripDropDown
topmost = GetFirstDropDown();
1934
ToolStripDropDown
toplevel = GetFirstDropDown();
1951
List<
ToolStripDropDown
> dropDowns = new(ActiveDropDowns);
2011
internal bool IsFirstDropDown => OwnerToolStrip as
ToolStripDropDown
is null;
2016
internal
ToolStripDropDown
GetFirstDropDown()
2018
ToolStripDropDown
topmost = this;
2020
ToolStripDropDown
? ownerDropDown = topmost.OwnerToolStrip as
ToolStripDropDown
;
2024
ownerDropDown = topmost.OwnerToolStrip as
ToolStripDropDown
;
2030
internal static
ToolStripDropDown
? GetFirstDropDown(ToolStrip start)
2038
ToolStripDropDown
startDropDown = (
ToolStripDropDown
)start;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.ToolStripDropDownAccessibleObject.cs (5)
13
public ToolStripDropDownAccessibleObject(
ToolStripDropDown
owner) : base(owner)
31
return this.TryGetOwnerAs(out
ToolStripDropDown
? owner)
39
if (this.TryGetOwnerAs(out
ToolStripDropDown
? owner))
48
&& this.TryGetOwnerAs(out
ToolStripDropDown
? owner)
54
this.TryGetOwnerAs(out
ToolStripDropDown
? owner);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
112
protected override
ToolStripDropDown
CreateDefaultDropDown()
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (4)
19
private
ToolStripDropDown
? _dropDown;
61
public
ToolStripDropDown
DropDown
294
protected virtual
ToolStripDropDown
CreateDefaultDropDown()
623
ToolStripDropDown
? parent = GetCurrentParentDropDown();
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItemAccessibleObject.cs (2)
66
_owner.Owner is
ToolStripDropDown
toolStripDropDown
180
if (_owner.Owner is not
ToolStripDropDown
dropDown)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
261
if (e.ToolStrip is
ToolStripDropDown
)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (7)
1429
ToolStripDropDown
? currentParent = null;
1432
currentParent = ParentInternal as
ToolStripDropDown
;
1437
currentParent = Owner as
ToolStripDropDown
;
2326
internal
ToolStripDropDown
? GetCurrentParentDropDown()
2330
return ParentInternal as
ToolStripDropDown
;
2333
return Owner as
ToolStripDropDown
;
3579
if (_parent is
ToolStripDropDown
dropDown && dropDown.OwnerItem is not null)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
321
ToolStripDropDown
dropDown = Owner.GetCurrentParentDropDown()!;
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
226
if (_owner is
ToolStripDropDown
dropDown)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
812
ToolStripDropDown
dropDown = (
ToolStripDropDown
)toolStrip;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (11)
290
internal static void CloseActiveDropDown(
ToolStripDropDown
activeToolStripDropDown, ToolStripDropDownCloseReason reason)
337
if (activeToolStrip is
ToolStripDropDown
activeToolStripDropDown)
376
if (GetActiveToolStripInternal() is
ToolStripDropDown
activeDropDown && activeDropDown.AutoClose)
409
ToolStripDropDown
dropDown = (
ToolStripDropDown
)toolStrip;
445
&& (
ToolStripDropDown
.GetFirstDropDown(toolStrip)
446
!=
ToolStripDropDown
.GetFirstDropDown(currentActiveToolStrip)))
450
ToolStripDropDown
currentActiveToolStripDropDown = (
ToolStripDropDown
)currentActiveToolStrip;
550
else if (Control.FromChildHandle(activeWindowHandle.Handle) is not
ToolStripDropDown
580
if (control is null || control.TopLevelControlInternal is not
ToolStripDropDown
)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (5)
180
protected override
ToolStripDropDown
CreateDefaultDropDown()
430
if (ParentInternal is
ToolStripDropDown
parent)
460
if (ParentInternal is
ToolStripDropDown
parent)
472
internal bool IsTopLevel => ParentInternal as
ToolStripDropDown
is null;
859
ToolStripDropDown
dropDown = GetCurrentParentDropDown()!;
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
65
protected override
ToolStripDropDown
CreateDefaultDropDown()
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (2)
25
if (e.ToolStrip is
ToolStripDropDown
)
41
else if (e.ToolStrip is
ToolStripDropDown
)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (4)
125
if (toolStrip is
ToolStripDropDown
)
404
if (toolStrip is
ToolStripDropDown
)
836
if (toolStrip is
ToolStripDropDown
or MenuStrip or StatusStrip)
1193
if (e.ToolStrip is
ToolStripDropDown
toolStripDropDown)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventArgs.cs (2)
75
if (ToolStrip is
ToolStripDropDown
)
96
if (ToolStrip is
ToolStripDropDown
dropDown)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
334
protected override
ToolStripDropDown
CreateDefaultDropDown()
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (2)
206
FillBackground(g, bounds, (toolStrip is
ToolStripDropDown
) ? SystemColors.ControlLight : e.BackColor);
244
else if (toolStrip is
ToolStripDropDown
toolStripDropDown)
System\Windows\Forms\Internal\WinFormsUtils.cs (1)
177
if (c is
ToolStripDropDown
dd && dd.OwnerItem is not null)
System.Windows.Forms.Design (105)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
180
if (toplevel is
ToolStripDropDown
dropDown)
System\ComponentModel\Design\DesignerActionUI.cs (2)
189
if (comp is not Control or
ToolStripDropDown
)
666
if (relatedComponent is Control and not
ToolStripDropDown
)
System\Windows\Forms\Design\Behavior\DesignerActionGlyph.cs (1)
134
if (relatedComponent is Control relatedControl && !(relatedComponent is
ToolStripDropDown
) && _adorner?.BehaviorService is not null)
System\Windows\Forms\Design\ContextMenuStripActionList.cs (2)
11
private readonly
ToolStripDropDown
_toolStripDropDown;
17
_toolStripDropDown = (
ToolStripDropDown
)designer.Component;
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
136
if (parent is
ToolStripDropDown
parentDropDown && parentDropDown.Visible)
System\Windows\Forms\Design\ToolStripDesigner.cs (11)
781
ToolStripDropDown
dropDown = (
ToolStripDropDown
)((DesignerToolStripControlHost)comp).GetCurrentParent();
785
ToolStripDropDown
topmost = ToolStripItemDesigner.GetFirstDropDown((ToolStripDropDownItem)(ownerItem));
797
ToolStripItem parentItem = ((
ToolStripDropDown
)(item.Owner)).OwnerItem;
800
ToolStripDropDown
topmost = ToolStripItemDesigner.GetFirstDropDown((ToolStripDropDownItem)parentItem);
840
if (designerItem.GetCurrentParent() is
ToolStripDropDown
parent)
1613
ToolStripDropDown
topmost = item.Owner as
ToolStripDropDown
;
1619
topmost = topmost?.OwnerItem.GetCurrentParent() as
ToolStripDropDown
;
2090
ToolStripDropDown
dropDown = sender as
ToolStripDropDown
;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (5)
24
private
ToolStripDropDown
_dropDown;
360
_dropDown = (
ToolStripDropDown
)Component;
426
ToolStripDropDown
topmost = null;
454
if (item.GetCurrentParent() is not
ToolStripDropDown
parent)
457
parent = item.Owner as
ToolStripDropDown
;
System\Windows\Forms\Design\ToolStripInSituService.cs (3)
97
if (c.GetCurrentParent() is
ToolStripDropDown
dropDown)
129
else if (comp is
ToolStripDropDown
) // case for ToolStripDropDown..
192
if (designerItem is not null || comp is
ToolStripDropDown
)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (8)
561
if (glyphItem.Owner is
ToolStripDropDown
parentDropDown)
614
ToolStripDropDown
dropDown = glyphItem.GetCurrentParent() as
ToolStripDropDown
;
681
if (parentToolStrip is
ToolStripDropDown
dropDown)
762
ToolStripDropDown
dropDown = parentToolStrip as
ToolStripDropDown
;
801
if (item.GetCurrentParent() is
ToolStripDropDown
dropDown && !(dropDown is ToolStripOverflow))
1003
if (glyphItem.Owner is
ToolStripDropDown
parentDropDown)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
348
InsertIntoDropDown((
ToolStripDropDown
)_currentItem.Owner, t);
370
private void InsertIntoDropDown(
ToolStripDropDown
parent, Type t)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (11)
208
if (ImmediateParent is
ToolStripDropDown
parentDropDown)
273
if (item.Owner is
ToolStripDropDown
parentDropDown)
608
internal static
ToolStripDropDown
GetFirstDropDown(ToolStripItem currentItem)
610
if (currentItem.Owner is
ToolStripDropDown
)
612
ToolStripDropDown
topmost = currentItem.Owner as
ToolStripDropDown
;
614
while (topmost.OwnerItem is not null && (topmost.OwnerItem.Owner is
ToolStripDropDown
))
616
topmost = topmost.OwnerItem.Owner as
ToolStripDropDown
;
740
if (ImmediateParent is
ToolStripDropDown
parentDropDown)
917
if (ToolStripItem.GetCurrentParent() is
ToolStripDropDown
988
if (TryGetService(out IDesignerHost designerHost) && currentSelection.Owner is
ToolStripDropDown
parentDropDown)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (15)
629
ToolStripDropDown
dropDown = ToolStripItemDesigner.GetFirstDropDown(item);
640
if (parent is
ToolStripDropDown
parentDropDown && parentDropDown.Visible)
850
ToolStripDropDownItem ownerItem = (ToolStripDropDownItem)((
ToolStripDropDown
)(typeHereNode.Owner)).OwnerItem;
945
ToolStripDropDownItem ownerItem = (ToolStripDropDownItem)((
ToolStripDropDown
)(typeHereNode.Owner)).OwnerItem;
1064
if (selSvc.PrimarySelection is
ToolStripDropDown
dropDown && dropDown.Site is not null)
1215
if (toolStripItem is DesignerToolStripControlHost && toolStripItem.GetCurrentParent() is
ToolStripDropDown
parent)
1272
ToolStripItem owner = ((
ToolStripDropDown
)item.Owner).OwnerItem;
1342
ToolStripDropDown
parentToMoveOn = null;
1363
parentToMoveOn = item.GetCurrentParent() as
ToolStripDropDown
;
1378
: dropDownItem.Owner) as
ToolStripDropDown
;
1384
parentToMoveOn = item.GetCurrentParent() as
ToolStripDropDown
;
1724
next = ((
ToolStripDropDown
)toolStripItem.Owner).OwnerItem;
1850
ToolStripItem parentItem = ((
ToolStripDropDown
)designerItem.Owner).OwnerItem;
1851
ToolStripDropDown
dropDown = ToolStripItemDesigner.GetFirstDropDown((ToolStripDropDownItem)parentItem);
1871
targetSelection = GetNextItem(owner, ((
ToolStripDropDown
)parent).OwnerItem, ArrowDirection.Left);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (42)
72
private
ToolStripDropDown
_customDropDown;
117
private
ToolStripDropDown
DropDown
292
if (toolItem.IsOnDropDown && toolItem.Owner is
ToolStripDropDown
dropDown)
333
if (MenuItem.Owner is
ToolStripDropDown
dropDown)
358
internal void AddNewTemplateNode(
ToolStripDropDown
dropDown)
428
if (!(MenuItem.Owner is
ToolStripDropDown
) && base.Editor is not null) // we are on Base MenuStrip !!
932
if (lastSelected.Owner is
ToolStripDropDown
lastDropDown && currentSelected.Owner is
ToolStripDropDown
currentDropDown)
966
while (currentItem?.Owner is
ToolStripDropDown
dropDown)
1099
ToolStripDropDown
dropDown = sender as
ToolStripDropDown
;
1175
ToolStripDropDown
dropDown = sender as
ToolStripDropDown
;
1258
selectedItem = ((
ToolStripDropDown
)item.Owner).OwnerItem as ToolStripDropDownItem;
1321
if (MenuItem.Owner is
ToolStripDropDown
dropDown)
1385
private static int GetItemInsertionIndex(
ToolStripDropDown
wb, Point ownerClientAreaRelativeDropPoint)
1411
ToolStripDropDown
topmost = GetFirstDropDown(MenuItem);
1428
if (MenuItem.Owner is
ToolStripDropDown
dropDown)
1438
if (item.Owner is
ToolStripDropDown
itemDropDown)
1465
if (item.Owner is
ToolStripDropDown
dropDown)
1560
ToolStripDropDown
firstDropDown = GetFirstDropDown(MenuItem);
1618
private bool IsParentDropDown(
ToolStripDropDown
currentDropDown)
1622
ToolStripDropDown
startDropDown = MenuItem.Owner as
ToolStripDropDown
;
1627
startDropDown = ownerItem.Owner as
ToolStripDropDown
;
1879
if (itemToBeDeleted.Owner is
ToolStripDropDown
owner)
1962
if (itemToBeDeleted.Owner is
ToolStripDropDown
owner)
2162
ToolStripDropDown
firstDropDown = GetFirstDropDown(MenuItem);
2210
ToolStripDropDown
parent = currentSelection.Owner as
ToolStripDropDown
;
2219
parent = parent.OwnerItem.Owner as
ToolStripDropDown
;
2229
if (selectedObj is
ToolStripDropDown
selectedDropDown && MenuItem.DropDown == selectedDropDown)
2238
ToolStripDropDown
parent = item.Owner as
ToolStripDropDown
;
2247
parent = parent.OwnerItem.Owner as
ToolStripDropDown
;
2497
if (MenuItem.Owner is
ToolStripDropDown
dropDown)
2536
ToolStripDropDown
ownerDropDown = (
ToolStripDropDown
)MenuItem.Owner;
2558
while (currentSelection is not null && currentSelection.Owner is
ToolStripDropDown
dropDown)
2560
ToolStripDropDown
currentDropDown = dropDown;
2683
ToolStripDropDown
parentToolStrip = primaryItem.GetCurrentParent() as
ToolStripDropDown
;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
493
ToolStripDropDown
oldContextMenu = _contextMenu;
System.Windows.Forms.Design.Tests (4)
System\Windows\Forms\Design\ContextMenuStripActionListTests.cs (3)
18
private readonly
ToolStripDropDown
_toolStripDropDown;
60
ToolStripDropDown
toolStripDropDownValue = (
ToolStripDropDown
)_actionList.TestAccessor().Dynamic._toolStripDropDown;
ToolStripDropDownDesignerTest.cs (1)
17
ToolStripDropDown
toolStripDropDown = new();
System.Windows.Forms.Tests (119)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
1731
or
ToolStripDropDown
System\Windows\Forms\AccessibleObjects\ToolStripDropDown.ToolStripDropDownAccessibleObjectTests.cs (5)
5
using static System.Windows.Forms.
ToolStripDropDown
;
14
using
ToolStripDropDown
toolStripDropDown = new();
24
using
ToolStripDropDown
toolStripDropDown = new();
37
using
ToolStripDropDown
toolStripDropDown = new();
66
using
ToolStripDropDown
toolStripDropDown = new();
System\Windows\Forms\AccessibleObjects\ToolStripDropDownMenu.ToolStripDropDownMenuAccessibleObjectTests.cs (4)
267
ToolStripDropDown
dropDown = menuItem.DropDown;
279
ToolStripDropDown
dropDown = dropDownButton.DropDown;
301
ToolStripDropDown
dropDown = menuItem.DropDown;
313
ToolStripDropDown
dropDown = dropDownButton.DropDown;
System\Windows\Forms\ToolStripButtonTests.cs (3)
1568
ToolStripDropDown
parent = new();
1620
ToolStripDropDown
parent = new();
1647
ToolStripDropDown
parent = new();
System\Windows\Forms\ToolStripCustomIComparerTests.cs (2)
14
[InlineData(typeof(ToolStrip), typeof(
ToolStripDropDown
), 1)]
15
[InlineData(typeof(
ToolStripDropDown
), typeof(ToolStrip), -1)]
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
445
using
ToolStripDropDown
result = new();
473
public
ToolStripDropDown
CreateDefaultDropDownResult { get; set; }
475
protected override
ToolStripDropDown
CreateDefaultDropDown() => CreateDefaultDropDownResult;
537
public new
ToolStripDropDown
CreateDefaultDropDown() => base.CreateDefaultDropDown();
System\Windows\Forms\ToolStripDropDownTests.cs (89)
251
using
ToolStripDropDown
control = new()
272
using
ToolStripDropDown
control = new();
301
using
ToolStripDropDown
control = new();
337
using
ToolStripDropDown
control = new()
352
using
ToolStripDropDown
control = new()
383
using
ToolStripDropDown
control = new()
409
using
ToolStripDropDown
control = new()
436
using
ToolStripDropDown
control = new();
482
using
ToolStripDropDown
control = new()
526
using
ToolStripDropDown
control = new()
595
using
ToolStripDropDown
control = new();
623
using
ToolStripDropDown
control = new()
668
using
ToolStripDropDown
control = new();
702
using
ToolStripDropDown
control = new()
757
using
ToolStripDropDown
control = new()
796
using
ToolStripDropDown
control = new()
812
using
ToolStripDropDown
control = new();
873
using
ToolStripDropDown
control = new();
915
using
ToolStripDropDown
control = new()
931
using
ToolStripDropDown
control = new();
974
using
ToolStripDropDown
control = new();
1001
using
ToolStripDropDown
control = new();
1197
using
ToolStripDropDown
control = new()
1223
using
ToolStripDropDown
control = new()
1327
using
ToolStripDropDown
control = new()
1359
using
ToolStripDropDown
control = new()
1386
using
ToolStripDropDown
control = new()
1403
using
ToolStripDropDown
control = new();
1432
using
ToolStripDropDown
control = new();
1448
using
ToolStripDropDown
control = new();
1468
using
ToolStripDropDown
control = new();
1475
using
ToolStripDropDown
control = new();
1544
using
ToolStripDropDown
control = new();
1588
using
ToolStripDropDown
control = new();
1653
using
ToolStripDropDown
control = new();
1709
using
ToolStripDropDown
control = new()
1725
using
ToolStripDropDown
control = new();
1761
using
ToolStripDropDown
control = new();
1777
using
ToolStripDropDown
control = new();
1805
using
ToolStripDropDown
control = new();
1831
using
ToolStripDropDown
control = new()
1848
using
ToolStripDropDown
control = new();
1876
using
ToolStripDropDown
control = new();
1912
using
ToolStripDropDown
control = new();
1938
using
ToolStripDropDown
control = new();
2024
using
ToolStripDropDown
control = new()
2044
using
ToolStripDropDown
control = new()
2073
using
ToolStripDropDown
control = new();
2107
using
ToolStripDropDown
control = new()
2151
using
ToolStripDropDown
control = new();
2197
using
ToolStripDropDown
control = new()
2239
using
ToolStripDropDown
control = new()
2256
using
ToolStripDropDown
control = new();
2284
using
ToolStripDropDown
control = new();
2331
using
ToolStripDropDown
control = new();
2346
using
ToolStripDropDown
control = new()
2367
using
ToolStripDropDown
control = new()
2381
using
ToolStripDropDown
control = new();
2406
using
ToolStripDropDown
control = new();
2442
using
ToolStripDropDown
control = new();
2450
using
ToolStripDropDown
control = new()
2472
using
ToolStripDropDown
control = new();
2511
using
ToolStripDropDown
control = new()
2527
using
ToolStripDropDown
control = new()
2565
using
ToolStripDropDown
control = new();
2573
using
ToolStripDropDown
control = new()
2595
using
ToolStripDropDown
control = new();
2631
using
ToolStripDropDown
control = new()
2670
using
ToolStripDropDown
control = new()
2687
using
ToolStripDropDown
control = new();
2715
using
ToolStripDropDown
control = new();
2754
using
ToolStripDropDown
control = new();
2783
using
ToolStripDropDown
control = new();
2925
ToolStripDropDown
.ToolStripDropDownAccessibleObject instance = Assert.IsType<
ToolStripDropDown
.ToolStripDropDownAccessibleObject>(control.CreateAccessibilityInstance());
2940
ToolStripDropDown
.ToolStripDropDownAccessibleObject instance = Assert.IsType<
ToolStripDropDown
.ToolStripDropDownAccessibleObject>(control.CreateAccessibilityInstance());
3039
using
ToolStripDropDown
control = new();
3094
using
ToolStripDropDown
control = new();
3149
using
ToolStripDropDown
control = new()
3203
using
ToolStripDropDown
control = new();
4920
using
ToolStripDropDown
control = new();
4928
using
ToolStripDropDown
control = new();
4936
using
ToolStripDropDown
control = new();
4970
using
ToolStripDropDown
control = new();
4990
using
ToolStripDropDown
toolStripDropDown = new();
5001
using
ToolStripDropDown
toolStripDropDown = new();
5022
using
ToolStripDropDown
toolStripDropDown = new();
5041
using
ToolStripDropDown
toolStripDropDown = new();
System\Windows\Forms\ToolStripItemTests.cs (10)
5823
using
ToolStripDropDown
owner = new();
5861
using
ToolStripDropDown
parent = new();
6648
using
ToolStripDropDown
owner = new()
6674
using
ToolStripDropDown
parent = new()
6689
using
ToolStripDropDown
owner = new()
6694
using
ToolStripDropDown
parent = new()
14014
ToolStripDropDown
parent = new();
14308
using
ToolStripDropDown
ownerItemOwner = new();
14313
using
ToolStripDropDown
owner = new()
14335
using
ToolStripDropDown
owner = new()
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
457
public new
ToolStripDropDown
CreateDefaultDropDown() => base.CreateDefaultDropDown();