61 references to Glyphs
System.Windows.Forms.Design (61)
System\ComponentModel\Design\DesignerActionUI.cs (3)
358if (_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)
492for (int j = 0; j < Adorners[i].Glyphs.Count; j++) 494Cursor? hitTestCursor = Adorners[i].Glyphs[j].GetHitTest(pt); 501Glyph newGlyph = Adorners[i].Glyphs[j]; 742for (int j = Adorners[i].Glyphs.Count - 1; j >= 0; j--) 744Adorners[i].Glyphs[j].Paint(pe);
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (1)
107foreach (Glyph glyph in a.Glyphs)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (8)
145BodyGlyphAdorner.Glyphs.Add(bodyGlyph); 158SelectionGlyphAdorner.Glyphs.AddRange(glyphs); 216SelectionGlyphAdorner.Glyphs.Clear(); 222BodyGlyphAdorner.Glyphs.Clear(); 262foreach (ControlBodyGlyph g in BodyGlyphAdorner.Glyphs) 272BodyGlyphAdorner.Glyphs.Remove(g); 412SelectionGlyphAdorner.Glyphs.Clear(); 413BodyGlyphAdorner.Glyphs.Clear();
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (2)
284foreach (ControlBodyGlyph body in bodyAdorner.Glyphs) 298bodyAdorner.Glyphs.Remove(glyph);
System\Windows\Forms\Design\ComponentTray.cs (7)
2626get => _traySelectionAdorner.Glyphs; 2636_traySelectionAdorner.Glyphs.Clear(); 2669for (int i = 0; i < _traySelectionAdorner.Glyphs.Count; i++) 2671Cursor hitTestCursor = _traySelectionAdorner.Glyphs[i].GetHitTest(p); 2674_hitTestedGlyph = _traySelectionAdorner.Glyphs[i]; 2746foreach (Glyph g in _traySelectionAdorner.Glyphs) 2758foreach (Glyph g in _traySelectionAdorner.Glyphs)
System\Windows\Forms\Design\SplitContainerDesigner.cs (4)
208selMgr.BodyGlyphAdorner.Glyphs.Add(bodyGlyph); 218selMgr.BodyGlyphAdorner.Glyphs.Add(bodyGlyph); 379foreach (ControlBodyGlyph g in bodyGlyphAdorner!.Glyphs) 389bodyGlyphAdorner.Glyphs.Remove(g);
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
85_dropDownAdorner.Glyphs.Clear();
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (3)
242selectionManager.BodyGlyphAdorner.Glyphs.Add(bodyGlyph); 470if (!CheckAssociatedControl(component, childGlyph, selectionManager.BodyGlyphAdorner.Glyphs)) 472selectionManager.BodyGlyphAdorner.Glyphs.Insert(0, childGlyph);
System\Windows\Forms\Design\ToolStripDesigner.cs (8)
499_toolStripAdornerWindowService?.DropDownAdorner.Glyphs.Add(bodyGlyphForddItem); 672GetService<SelectionManager>().BodyGlyphAdorner.Glyphs.Insert(0, bodyGlyphForItem); 1329selectionManager.BodyGlyphAdorner.Glyphs.Add(bodyGlyphForItem); 2181Glyph[] currentBodyGlyphs = new Glyph[selectionManager.BodyGlyphAdorner.Glyphs.Count]; 2182selectionManager.BodyGlyphAdorner.Glyphs.CopyTo(currentBodyGlyphs, 0); 2189selectionManager.BodyGlyphAdorner.Glyphs.Remove(g); 2242if (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)
216selectionManager.SelectionGlyphAdorner.Glyphs.AddRange(glyphs); 322if (selectionManager.BodyGlyphAdorner.Glyphs.Contains(_dummyToolStripGlyph)) 324selectionManager.BodyGlyphAdorner.Glyphs.Remove(_dummyToolStripGlyph); 541selectionManager.BodyGlyphAdorner.Glyphs.Insert(0, _dummyToolStripGlyph); 700GetService<SelectionManager>()?.BodyGlyphAdorner.Glyphs.Insert(0, _dummyToolStripGlyph);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
482&& toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_bodyGlyph)) 484toolStripAdornerWindowService.DropDownAdorner.Glyphs.Remove(_bodyGlyph); 1278selectionManager.BodyGlyphAdorner.Glyphs.Remove(_bodyGlyph);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (11)
399_toolStripAdornerWindowService?.DropDownAdorner.Glyphs.Insert(0, bodyGlyphForddItem); 1136_toolStripAdornerWindowService?.DropDownAdorner.Glyphs.Add(_rootControlGlyph); 1148if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_rootControlGlyph)) 1150_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Remove(_rootControlGlyph); 1194if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_rootControlGlyph)) 1196_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Remove(_rootControlGlyph); 1204_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Add(_rootControlGlyph); 2382if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph)) 2384_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Remove(glyph); 2403if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph)) 2405_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Remove(glyph);