61 references to Glyphs
System.Windows.Forms.Design (61)
System\ComponentModel\Design\DesignerActionUI.cs (3)
358
if (_designerActionAdorner?.
Glyphs
is { } glyphs && !glyphs.Contains(glyph))
360
_designerActionAdorner.
Glyphs
.Insert(0, glyph);
533
_designerActionAdorner.
Glyphs
.Remove(glyph);
System\Windows\Forms\Design\Behavior\BehaviorService.cs (5)
492
for (int j = 0; j < Adorners[i].
Glyphs
.Count; j++)
494
Cursor? hitTestCursor = Adorners[i].
Glyphs
[j].GetHitTest(pt);
501
Glyph newGlyph = Adorners[i].
Glyphs
[j];
739
for (int j = Adorners[i].
Glyphs
.Count - 1; j >= 0; j--)
741
Adorners[i].
Glyphs
[j].Paint(pe);
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (1)
109
foreach (Glyph glyph in a.
Glyphs
)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (8)
145
BodyGlyphAdorner.
Glyphs
.Add(bodyGlyph);
158
SelectionGlyphAdorner.
Glyphs
.AddRange(glyphs);
216
SelectionGlyphAdorner.
Glyphs
.Clear();
222
BodyGlyphAdorner.
Glyphs
.Clear();
259
foreach (ControlBodyGlyph g in BodyGlyphAdorner.
Glyphs
)
269
BodyGlyphAdorner.
Glyphs
.Remove(g);
409
SelectionGlyphAdorner.
Glyphs
.Clear();
410
BodyGlyphAdorner.
Glyphs
.Clear();
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (2)
274
foreach (ControlBodyGlyph body in bodyAdorner.
Glyphs
)
288
bodyAdorner.
Glyphs
.Remove(glyph);
System\Windows\Forms\Design\ComponentTray.cs (7)
2608
get => _traySelectionAdorner.
Glyphs
;
2616
_traySelectionAdorner?.
Glyphs
.Clear();
2648
for (int i = 0; i < _traySelectionAdorner.
Glyphs
.Count; i++)
2650
Cursor hitTestCursor = _traySelectionAdorner.
Glyphs
[i].GetHitTest(p);
2653
_hitTestedGlyph = _traySelectionAdorner.
Glyphs
[i];
2725
foreach (Glyph g in _traySelectionAdorner.
Glyphs
)
2737
foreach (Glyph g in _traySelectionAdorner.
Glyphs
)
System\Windows\Forms\Design\SplitContainerDesigner.cs (4)
208
selMgr.BodyGlyphAdorner.
Glyphs
.Add(bodyGlyph);
218
selMgr.BodyGlyphAdorner.
Glyphs
.Add(bodyGlyph);
379
foreach (ControlBodyGlyph g in bodyGlyphAdorner!.
Glyphs
)
389
bodyGlyphAdorner.
Glyphs
.Remove(g);
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
80
_dropDownAdorner?.
Glyphs
.Clear();
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (3)
242
selectionManager.BodyGlyphAdorner.
Glyphs
.Add(bodyGlyph);
470
if (!CheckAssociatedControl(component, childGlyph, selectionManager.BodyGlyphAdorner.
Glyphs
))
472
selectionManager.BodyGlyphAdorner.
Glyphs
.Insert(0, childGlyph);
System\Windows\Forms\Design\ToolStripDesigner.cs (8)
466
_toolStripAdornerWindowService?.DropDownAdorner.
Glyphs
.Add(bodyGlyphDropDownItem);
633
GetService<SelectionManager>().BodyGlyphAdorner.
Glyphs
.Insert(0, bodyGlyphForItem);
1312
selectionManager.BodyGlyphAdorner.
Glyphs
.Add(bodyGlyphForItem);
2197
Glyph[] currentBodyGlyphs = new Glyph[selectionManager.BodyGlyphAdorner.
Glyphs
.Count];
2198
selectionManager.BodyGlyphAdorner.
Glyphs
.CopyTo(currentBodyGlyphs, 0);
2205
selectionManager.BodyGlyphAdorner.
Glyphs
.Remove(g);
2258
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(glyph))
2260
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(glyph);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (5)
216
selectionManager.SelectionGlyphAdorner.
Glyphs
.AddRange(glyphs);
313
if (selectionManager.BodyGlyphAdorner.
Glyphs
.Contains(_dummyToolStripGlyph))
315
selectionManager.BodyGlyphAdorner.
Glyphs
.Remove(_dummyToolStripGlyph);
532
selectionManager.BodyGlyphAdorner.
Glyphs
.Insert(0, _dummyToolStripGlyph);
691
GetService<SelectionManager>()?.BodyGlyphAdorner.
Glyphs
.Insert(0, _dummyToolStripGlyph);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
464
&& toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(_bodyGlyph))
466
toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(_bodyGlyph);
1254
selectionManager.BodyGlyphAdorner.
Glyphs
.Remove(_bodyGlyph);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (11)
399
_toolStripAdornerWindowService?.DropDownAdorner.
Glyphs
.Insert(0, bodyGlyphForddItem);
1106
_toolStripAdornerWindowService?.DropDownAdorner.
Glyphs
.Add(_rootControlGlyph);
1118
if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(_rootControlGlyph))
1120
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(_rootControlGlyph);
1164
if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(_rootControlGlyph))
1166
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(_rootControlGlyph);
1174
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Add(_rootControlGlyph);
2331
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(glyph))
2333
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(glyph);
2352
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(glyph))
2354
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(glyph);