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)
2620
get => _traySelectionAdorner.
Glyphs
;
2628
_traySelectionAdorner?.
Glyphs
.Clear();
2660
for (int i = 0; i < _traySelectionAdorner.
Glyphs
.Count; i++)
2662
Cursor hitTestCursor = _traySelectionAdorner.
Glyphs
[i].GetHitTest(p);
2665
_hitTestedGlyph = _traySelectionAdorner.
Glyphs
[i];
2737
foreach (Glyph g in _traySelectionAdorner.
Glyphs
)
2749
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);
316
if (selectionManager.BodyGlyphAdorner.
Glyphs
.Contains(_dummyToolStripGlyph))
318
selectionManager.BodyGlyphAdorner.
Glyphs
.Remove(_dummyToolStripGlyph);
535
selectionManager.BodyGlyphAdorner.
Glyphs
.Insert(0, _dummyToolStripGlyph);
694
GetService<SelectionManager>()?.BodyGlyphAdorner.
Glyphs
.Insert(0, _dummyToolStripGlyph);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
470
&& toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(_bodyGlyph))
472
toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(_bodyGlyph);
1260
selectionManager.BodyGlyphAdorner.
Glyphs
.Remove(_bodyGlyph);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (11)
399
_toolStripAdornerWindowService?.DropDownAdorner.
Glyphs
.Insert(0, bodyGlyphForddItem);
1109
_toolStripAdornerWindowService?.DropDownAdorner.
Glyphs
.Add(_rootControlGlyph);
1121
if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(_rootControlGlyph))
1123
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(_rootControlGlyph);
1167
if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(_rootControlGlyph))
1169
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(_rootControlGlyph);
1177
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Add(_rootControlGlyph);
2337
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(glyph))
2339
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(glyph);
2358
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(glyph))
2360
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(glyph);