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