1 instantiation of SelectionManager
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DocumentDesigner.cs (1)
711
_selectionManager = new
SelectionManager
(host, _behaviorService);
53 references to SelectionManager
System.Windows.Forms.Design (53)
System\ComponentModel\Design\ToolStripContainerActionList.cs (2)
77
SelectionManager
? selectionManager = _serviceProvider?.GetService<
SelectionManager
>();
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (3)
902
SelectionManager
selMgr = (
SelectionManager
)serviceProvider.GetService(typeof(
SelectionManager
));
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (3)
64
SelectionManager
selManager = _serviceProvider.GetService(typeof(
SelectionManager
)) as
SelectionManager
;
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (3)
277
SelectionManager
selMgr = (
SelectionManager
)_serviceProvider.GetService(typeof(
SelectionManager
));
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
115
var selectionManager = _serviceProvider.GetRequiredService<
SelectionManager
>();
System\Windows\Forms\Design\DocumentDesigner.cs (2)
30
private
SelectionManager
_selectionManager;
487
host.RemoveService<
SelectionManager
>();
System\Windows\Forms\Design\FlowPanelDesigner.cs (3)
43
SelectionManager
? sm = GetService(typeof(
SelectionManager
)) as
SelectionManager
;
System\Windows\Forms\Design\ScrollableControlDesigner.cs (2)
15
private
SelectionManager
? _selectionManager;
58
_selectionManager ??= GetService<
SelectionManager
>();
System\Windows\Forms\Design\SplitContainerDesigner.cs (5)
198
if (TryGetService(out
SelectionManager
? selMgr))
319
var
selMgr = GetService<
SelectionManager
>();
358
SelectionManager
? selMgr = GetService<
SelectionManager
>();
System\Windows\Forms\Design\StandardMenuStripVerb.cs (6)
253
SelectionManager
selMgr = (
SelectionManager
)_provider.GetService(typeof(
SelectionManager
));
397
SelectionManager
selMgr = (
SelectionManager
)_provider.GetService(typeof(
SelectionManager
));
System\Windows\Forms\Design\TabControlDesigner.cs (3)
423
SelectionManager
selMgr = (
SelectionManager
)GetService(typeof(
SelectionManager
));
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (2)
225
if (!TryGetService(out
SelectionManager
? selectionManager))
456
private void AddPanelSelectionGlyph(ToolStripPanelDesigner designer,
SelectionManager
selectionManager)
System\Windows\Forms\Design\ToolStripDesigner.cs (4)
672
GetService<
SelectionManager
>().BodyGlyphAdorner.Glyphs.Insert(0, bodyGlyphForItem);
1267
if (TryGetService(out
SelectionManager
selectionManager) && ToolStrip is not null && CanAddItems && ToolStrip.Visible)
2180
SelectionManager
selectionManager = GetService<
SelectionManager
>();
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (5)
197
private void AddSelectionGlyphs(
SelectionManager
selectionManager, ISelectionService selectionService)
223
if (TryGetService(out
SelectionManager
selectionManager))
320
if (_dummyToolStripGlyph is not null && TryGetService(out
SelectionManager
selectionManager))
537
if (TryGetService(out
SelectionManager
selectionManager))
700
GetService<
SelectionManager
>()?.BodyGlyphAdorner.Glyphs.Insert(0, _dummyToolStripGlyph);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (5)
326
SelectionManager
selectionManager = GetService<
SelectionManager
>();
1010
GetService<
SelectionManager
>().Refresh();
1275
SelectionManager
selectionManager = GetService<
SelectionManager
>();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
693
GetService<
SelectionManager
>().NeedRefresh = false;
1611
GetService<
SelectionManager
>()?.Refresh();
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
406
SelectionManager
? selectionManager = GetService<
SelectionManager
>();