2 instantiations of DesignerActionGlyph
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionUI.cs (2)
199designerActionGlyph = new DesignerActionGlyph(dab, trayBounds, componentTray); 207designerActionGlyph ??= new DesignerActionGlyph(dab, _designerActionAdorner);
21 references to DesignerActionGlyph
System.Windows.Forms.Design (21)
System\ComponentModel\Design\DesignerActionUI.cs (15)
31private readonly Dictionary<object, DesignerActionGlyph> _componentToGlyph; // used for quick reference between components and our glyphs 41private DesignerActionGlyph? _relatedGlyphTransaction; 163public DesignerActionGlyph? GetDesignerActionGlyph(IComponent comp) 168internal DesignerActionGlyph? GetDesignerActionGlyph(IComponent comp, DesignerActionListCollection? dalColl) 183if (!_componentToGlyph.TryGetValue(comp, out DesignerActionGlyph? designerActionGlyph)) 251if (_componentToGlyph.TryGetValue(ce.Component, out DesignerActionGlyph? glyph)) 311DesignerActionGlyph? glyph = GetDesignerActionGlyph(comp); 346private void VerifyGlyphIsInAdorner(DesignerActionGlyph glyph) 387DesignerActionGlyph? relatedGlyph = GetDesignerActionGlyph(component); 426DesignerActionGlyph? g = null; 486if (primarySelection is null || !_componentToGlyph.TryGetValue(primarySelection, out DesignerActionGlyph? glyph)) 525if (!_componentToGlyph.TryGetValue(relatedObject, out DesignerActionGlyph? glyph)) 613if (_componentToGlyph.TryGetValue(_lastPanelComponent, out DesignerActionGlyph? currentGlyph)) 633internal Point UpdateDAPLocation(IComponent? component, DesignerActionGlyph? glyph) 693internal void ShowDesignerActionPanel(IComponent relatedComponent, DesignerActionPanel panel, DesignerActionGlyph glyph)
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
178_designerActionUI.UpdateDAPLocation(component: null, _relatedGlyph as DesignerActionGlyph);
System\ComponentModel\Design\DesignerActionUIService.cs (1)
57/// Refreshes the <see cref="DesignerActionGlyph">designer action glyph</see> as well as
System\Windows\Forms\Design\Behavior\DesignerActionBehavior.cs (1)
73if (g is not DesignerActionGlyph glyph)
System\Windows\Forms\Design\Behavior\DesignerActionGlyph.cs (2)
100typeof(DesignerActionGlyph), 105typeof(DesignerActionGlyph),
System\Windows\Forms\Design\ComponentTray.cs (1)
2761if (g is DesignerActionGlyph desGlyph && ((DesignerActionBehavior)(desGlyph.Behavior)).RelatedComponent.Equals(trayControl.Component))