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];
742
for (int j = Adorners[i].
Glyphs
.Count - 1; j >= 0; j--)
744
Adorners[i].
Glyphs
[j].Paint(pe);
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (1)
107
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();
262
foreach (ControlBodyGlyph g in BodyGlyphAdorner.
Glyphs
)
272
BodyGlyphAdorner.
Glyphs
.Remove(g);
412
SelectionGlyphAdorner.
Glyphs
.Clear();
413
BodyGlyphAdorner.
Glyphs
.Clear();
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (2)
284
foreach (ControlBodyGlyph body in bodyAdorner.
Glyphs
)
298
bodyAdorner.
Glyphs
.Remove(glyph);
System\Windows\Forms\Design\ComponentTray.cs (7)
2626
get => _traySelectionAdorner.
Glyphs
;
2636
_traySelectionAdorner.
Glyphs
.Clear();
2669
for (int i = 0; i < _traySelectionAdorner.
Glyphs
.Count; i++)
2671
Cursor hitTestCursor = _traySelectionAdorner.
Glyphs
[i].GetHitTest(p);
2674
_hitTestedGlyph = _traySelectionAdorner.
Glyphs
[i];
2746
foreach (Glyph g in _traySelectionAdorner.
Glyphs
)
2758
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)
85
_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)
499
_toolStripAdornerWindowService?.DropDownAdorner.
Glyphs
.Add(bodyGlyphForddItem);
672
GetService<SelectionManager>().BodyGlyphAdorner.
Glyphs
.Insert(0, bodyGlyphForItem);
1329
selectionManager.BodyGlyphAdorner.
Glyphs
.Add(bodyGlyphForItem);
2181
Glyph[] currentBodyGlyphs = new Glyph[selectionManager.BodyGlyphAdorner.
Glyphs
.Count];
2182
selectionManager.BodyGlyphAdorner.
Glyphs
.CopyTo(currentBodyGlyphs, 0);
2189
selectionManager.BodyGlyphAdorner.
Glyphs
.Remove(g);
2242
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(glyph))
2244
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(glyph);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (5)
216
selectionManager.SelectionGlyphAdorner.
Glyphs
.AddRange(glyphs);
322
if (selectionManager.BodyGlyphAdorner.
Glyphs
.Contains(_dummyToolStripGlyph))
324
selectionManager.BodyGlyphAdorner.
Glyphs
.Remove(_dummyToolStripGlyph);
541
selectionManager.BodyGlyphAdorner.
Glyphs
.Insert(0, _dummyToolStripGlyph);
700
GetService<SelectionManager>()?.BodyGlyphAdorner.
Glyphs
.Insert(0, _dummyToolStripGlyph);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
482
&& toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(_bodyGlyph))
484
toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(_bodyGlyph);
1278
selectionManager.BodyGlyphAdorner.
Glyphs
.Remove(_bodyGlyph);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (11)
399
_toolStripAdornerWindowService?.DropDownAdorner.
Glyphs
.Insert(0, bodyGlyphForddItem);
1136
_toolStripAdornerWindowService?.DropDownAdorner.
Glyphs
.Add(_rootControlGlyph);
1148
if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(_rootControlGlyph))
1150
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(_rootControlGlyph);
1194
if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(_rootControlGlyph))
1196
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(_rootControlGlyph);
1204
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Add(_rootControlGlyph);
2382
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(glyph))
2384
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(glyph);
2403
if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Contains(glyph))
2405
_toolStripAdornerWindowService.DropDownAdorner.
Glyphs
.Remove(glyph);