53 references to ToolStripMenuItemDesigner
System.Windows.Forms.Design (53)
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
140
if (designerHost.GetDesigner(ownerItem) is
ToolStripMenuItemDesigner
itemDesigner)
System\Windows\Forms\Design\ToolStripDesigner.cs (7)
785
ToolStripMenuItemDesigner
itemDesigner = (
ToolStripMenuItemDesigner
)_host.GetDesigner(ownerItem);
829
if (_host.GetDesigner(selectedItem) is
ToolStripMenuItemDesigner
itemDesigner && itemDesigner.IsEditorActive)
845
if (_host.GetDesigner(ownerItem) is
ToolStripMenuItemDesigner
itemDesigner && itemDesigner.IsEditorActive)
1912
if (_host.GetDesigner(primaryDropDownItem) is
ToolStripMenuItemDesigner
dropDownItemDesigner)
2138
if (_host.GetDesigner(selectedItem) is
ToolStripMenuItemDesigner
selectedItemDesigner)
2436
((
ToolStripMenuItemDesigner
)newItemDesigner).InitializeDropDown();
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (10)
148
ToolStripMenuItemDesigner
itemDesigner = (
ToolStripMenuItemDesigner
)_host.GetDesigner(_menuItem);
336
if (_host.GetDesigner(_menuItem) is
ToolStripMenuItemDesigner
itemDesigner)
445
ToolStripMenuItemDesigner
itemDesigner = (
ToolStripMenuItemDesigner
)_host.GetDesigner(comp);
469
ToolStripMenuItemDesigner
itemDesigner = (
ToolStripMenuItemDesigner
)_host.GetDesigner(ownerItem);
658
if (_host.GetDesigner(_currentParent) is
ToolStripMenuItemDesigner
ownerItemDesigner)
680
ToolStripMenuItemDesigner
itemDesigner = (
ToolStripMenuItemDesigner
)_host.GetDesigner(_menuItem);
System\Windows\Forms\Design\ToolStripInSituService.cs (2)
107
_toolItemDesigner = host.GetDesigner(parentItem) as
ToolStripMenuItemDesigner
;
183
if (_toolItemDesigner is
ToolStripMenuItemDesigner
menuDesigner)
System\Windows\Forms\Design\ToolStripItemBehavior.cs (3)
606
if (designerHost.GetDesigner(ddItem) is
ToolStripMenuItemDesigner
itemDesigner)
795
if (designerHost.GetDesigner(item) is
ToolStripMenuItemDesigner
itemDesigner)
805
if (designerHost.GetDesigner(ownerItem) is
ToolStripMenuItemDesigner
ownerDesigner)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (4)
731
ToolStripMenuItemDesigner
ownerItemDesigner = null;
745
ownerItemDesigner = (
ToolStripMenuItemDesigner
)host.GetDesigner(ownerItem);
993
ToolStripMenuItemDesigner
parentItemDesigner = (
ToolStripMenuItemDesigner
)designerHost.GetDesigner(parentItem);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (8)
536
else if (!parentItem.DropDown.Visible && Host.GetDesigner(parentItem) is
ToolStripMenuItemDesigner
designer)
644
if (host.GetDesigner(ownerItem) is
ToolStripMenuItemDesigner
itemDesigner)
656
if (host.GetDesigner(dropDownItem) is
ToolStripMenuItemDesigner
selectedItemDesigner)
851
if (host.GetDesigner(ownerItem) is
ToolStripMenuItemDesigner
itemDesigner)
882
if (designer is
ToolStripMenuItemDesigner
tooldesigner)
931
if (host.GetDesigner(comp) is
ToolStripMenuItemDesigner
designer)
946
if (host.GetDesigner(ownerItem) is
ToolStripMenuItemDesigner
itemDesigner)
1261
&& host.GetDesigner(dropDownItem) is
ToolStripMenuItemDesigner
designer)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (14)
409
ToolStripMenuItemDesigner
itemDesigner = (
ToolStripMenuItemDesigner
)_designerHost.GetDesigner(item);
971
ToolStripMenuItemDesigner
itemDesigner = (
ToolStripMenuItemDesigner
)_designerHost.GetDesigner(currentItem);
1307
if (_designerHost.GetDesigner(newDummyItem) is
ToolStripMenuItemDesigner
newItemDesigner)
1328
if (designer is
ToolStripMenuItemDesigner
menuItemDesigner)
1578
if (_designerHost.GetDesigner(currentOwner) is
ToolStripMenuItemDesigner
ownerdesigner)
2279
properties[shadowProps[i]] = TypeDescriptor.CreateProperty(typeof(
ToolStripMenuItemDesigner
), prop, empty);
2504
if (designer is
ToolStripMenuItemDesigner
menuItemDesigner)
2564
if (_designerHost.GetDesigner(currentSelection) is
ToolStripMenuItemDesigner
currentSelectionDesigner)
2637
private readonly
ToolStripMenuItemDesigner
_menuItemDesigner;
2639
internal DropDownBehavior(ControlDesigner designer,
ToolStripMenuItemDesigner
menuItemDesigner) : base(designer)
2764
if (host.GetDesigner(dropDownItem) is
ToolStripMenuItemDesigner
dropDownItemDesigner)
2789
if (host.GetDesigner(ownerItem) is
ToolStripMenuItemDesigner
ownerDesigner)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
530
if (_designer is
ToolStripMenuItemDesigner
itemDesigner)
567
if (_designerHost.GetDesigner(selectedItem) is
ToolStripMenuItemDesigner
menuItemDesigner)
775
if (commit && (_designer is ToolStripDesigner || _designer is
ToolStripMenuItemDesigner
))
779
if (text == "-" && _designer is
ToolStripMenuItemDesigner
)