1 type derived from ToolStripDesigner
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (1)
10internal class BindingNavigatorDesigner : ToolStripDesigner
67 references to ToolStripDesigner
System.Windows.Forms.Design (67)
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (2)
17private readonly ToolStripDesigner _designer; 21internal ChangeToolStripParentVerb(ToolStripDesigner designer)
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
656string nameFromText = ToolStripDesigner.NameFromText(backEndProps[i].Name, columnType, site);
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1270bindingSourceName = ToolStripDesigner.NameFromText(bindingSourceName, bs.GetType(), _serviceProvider);
System\Windows\Forms\Design\DocumentDesigner.cs (1)
892bool addControl = designer is ToolStripDesigner
System\Windows\Forms\Design\StandardMenuStripVerb.cs (7)
20private readonly ToolStripDesigner _designer; 28internal StandardMenuStripVerb(ToolStripDesigner designer) 103ToolStripDesigner.s_autoAddNewItems = false; 236ToolStripDesigner.s_autoAddNewItems = true; 278ToolStripDesigner.s_autoAddNewItems = false; 380ToolStripDesigner.s_autoAddNewItems = true; 483string nameOfRandomItem = ToolStripDesigner.NameFromText(null, typeof(ToolStripMenuItem), _designer.Component.Site);
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (2)
73ToolStripDesigner.s_autoAddNewItems = false; 134ToolStripDesigner.s_autoAddNewItems = true;
System\Windows\Forms\Design\ToolStripActionList.cs (1)
17public ToolStripActionList(ToolStripDesigner designer)
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
2217properties[shadowProps[i]] = TypeDescriptor.CreateProperty(typeof(ToolStripDesigner), prop, empty);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
688if (ToolStripDesigner.IsGlyphTotallyVisible(menuBounds, parentBounds))
System\Windows\Forms\Design\ToolStripInSituService.cs (3)
20private ToolStripDesigner _toolDesigner; 120_toolDesigner = host.GetDesigner(tool) as ToolStripDesigner; 147_toolDesigner = host.GetDesigner(comp) as ToolStripDesigner;
System\Windows\Forms\Design\ToolStripItemBehavior.cs (15)
61if (ToolStripDesigner.s_lastCursorPosition != Point.Empty && ToolStripDesigner.s_lastCursorPosition == Cursor.Position) 424ToolStripDesigner.s_shiftState = true; 432if (glyphItem.IsOnDropDown && ToolStripDesigner.s_shiftState) 435ToolStripDesigner.s_shiftState = false; 553if (designerHost.GetDesigner(parentToolStrip) is ToolStripDesigner parentDesigner) 628ToolStripDesigner.s_dragItem = null; 645ToolStripItem currentDropItem = ToolStripDesigner.s_dragItem; 736int indexOfItemUnderMouseToDrop = parentToolStrip.Items.IndexOf(ToolStripDesigner.s_dragItem); 852ToolStripDesigner.s_dragItem = glyphItem; 900if (ToolStripDesigner.s_lastCursorPosition != Point.Empty && ToolStripDesigner.s_lastCursorPosition == Cursor.Position) 915ToolStripDesigner.s_lastCursorPosition = Cursor.Position; 958ToolStripDesigner.s_dragItem = null; 983if (designerHost.GetDesigner(parentToolStrip) is ToolStripDesigner parentDesigner)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (1)
409if (designerHost.GetDesigner(parent.OwnerItem.Owner) is ToolStripDesigner toolStripDesigner)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (10)
71return (parentDesigner is ToolStripDesigner); 334ToolStripDesigner designer = (ToolStripDesigner)designerHost.GetDesigner(ToolStripItem.Owner); 438if (!ToolStripDesigner.IsGlyphTotallyVisible(itemBounds, parentBounds)) 753ToolStripDesigner.s_autoAddNewItems = false; 864ToolStripDesigner.s_autoAddNewItems = true; 1111internal void SelectNextItem(bool enterKeyPressed, ToolStripDesigner designer) 1163internal void SetItemVisible(bool toolStripSelected, ToolStripDesigner designer) 1221ToolStripDesigner parentDesigner = (ToolStripDesigner)designerHost.GetDesigner(parent);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
865if (host.GetDesigner(typeHereNode.Owner) is ToolStripDesigner tooldesigner) 956if (host.GetDesigner(typeHereNode.Owner) is ToolStripDesigner tooldesigner)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (13)
176ToolStripDesigner.s_autoAddNewItems = false; 187ToolStripDesigner.s_autoAddNewItems = true; 783ToolStripDesigner.s_autoAddNewItems = false; 829ToolStripDesigner.s_autoAddNewItems = true; 860ToolStripDesigner.s_autoAddNewItems = false; 866newItem = (ToolStripItem)_designerHost.CreateComponent(t, ToolStripDesigner.NameFromText(newText, t, MenuItem.Site)); 917ToolStripDesigner.s_autoAddNewItems = true; 1244ToolStripDesigner.s_editTemplateNode = true; 1249ToolStripDesigner.s_editTemplateNode = false; 1805if (_designerHost.GetDesigner(mainStrip) is ToolStripDesigner mainStripDesigner && mainStripDesigner.InsertTransaction is not null) 1853if (_designerHost.GetDesigner(mainStrip) is ToolStripDesigner mainStripDesigner && !mainStripDesigner.EditingCollection && mainStripDesigner.InsertTransaction is null) 2063if (_designerHost.GetDesigner(mainStrip) is ToolStripDesigner mainStripDesigner && mainStripDesigner.CacheItems) 2112if (_designerHost.GetDesigner(mainStrip) is ToolStripDesigner mainStripDesigner)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (6)
406ToolStripDesigner designer = _designerHost.GetDesigner(_component) as ToolStripDesigner; 510ToolStripDesigner.s_lastCursorPosition = Cursor.Position; 512if (_designer is ToolStripDesigner designer) 775if (commit && (_designer is ToolStripDesigner || _designer is ToolStripMenuItemDesigner)) 795if (_designer is ToolStripDesigner designer)