1 implementation of GetSelectedComponents
System.Windows.Forms.Design (1)
System\ComponentModel\Design\SelectionService.cs (1)
339
ICollection ISelectionService.
GetSelectedComponents
()
74 references to GetSelectedComponents
System.Windows.Forms.Design (43)
System\ComponentModel\Design\ComponentDesigner.cs (1)
256
ICollection components = selectionService.
GetSelectedComponents
();
System\ComponentModel\Design\DesignerHost.cs (1)
1174
foreach (object item in ss.
GetSelectedComponents
())
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
34
ICollection selection = ss.
GetSelectedComponents
();
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (1)
217
ICollection selComps = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
325
foreach (object component in selSvc.
GetSelectedComponents
())
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
415
List<IComponent> selComps = [.._selectionService.
GetSelectedComponents
().Cast<IComponent>()];
System\Windows\Forms\Design\CommandSet.cs (13)
480
ICollection selectedComponents = SelectionService!.
GetSelectedComponents
();
807
List<IComponent> selComps = [..SelectionService.
GetSelectedComponents
().Cast<IComponent>()];
915
foreach (IComponent component in SelectionService.
GetSelectedComponents
())
983
ICollection comps = SelectionService.
GetSelectedComponents
();
1130
ICollection selectedComponents = SelectionService.
GetSelectedComponents
();
1251
ICollection selectedComponents = SelectionService.
GetSelectedComponents
();
1595
ICollection comps = SelectionService.
GetSelectedComponents
();
2288
ICollection sel = SelectionService.
GetSelectedComponents
();
2389
ICollection sel = SelectionService.
GetSelectedComponents
();
2530
ICollection sel = SelectionService.
GetSelectedComponents
();
2919
ICollection selection = SelectionService.
GetSelectedComponents
();
2998
ICollection selectedComponents = selSvc.
GetSelectedComponents
();
3051
ICollection selectedComponents = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\ComponentTray.cs (1)
240
_selectedObjects = ((ISelectionService)sender).
GetSelectedComponents
();
System\Windows\Forms\Design\ControlCommandSet.cs (5)
295
ICollection sel = SelectionService.
GetSelectedComponents
();
626
List<IComponent> selComps = (List<IComponent>)selSvc.
GetSelectedComponents
();
753
foreach (IComponent component in selSvc.
GetSelectedComponents
())
992
ICollection sel = SelectionService.
GetSelectedComponents
();
1314
ICollection selectedComponents = SelectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\ControlDesigner.cs (1)
1410
ICollection selComps = selectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\DocumentDesigner.cs (2)
604
ICollection sels = s.
GetSelectedComponents
();
1153
ICollection selComponents = svc.
GetSelectedComponents
();
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
95
selectedComponents = selectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\SelectionUIService.cs (2)
396
ICollection selection = _selSvc!.
GetSelectedComponents
();
972
ICollection col = _selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
406
ICollection selComponents = svc.
GetSelectedComponents
();
System\Windows\Forms\Design\TabControlDesigner.cs (2)
406
ICollection selComponents = svc.
GetSelectedComponents
();
438
ICollection selComponents = svc.
GetSelectedComponents
();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1475
ICollection selectedComps = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (2)
245
ICollection selComponents = _selectionService!.
GetSelectedComponents
();
464
ICollection selectedComponents = _selectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1347
ICollection selComponents = SelectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
201
ICollection selComponents = selectionService.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
300
originalSelComps = selSvc.
GetSelectedComponents
();
586
ICollection selComps = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (1)
2046
ICollection originalSelComps = selSvc.
GetSelectedComponents
();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
2179
originalSelComps = selectionSvc.
GetSelectedComponents
();
System.Windows.Forms.Design.Tests (31)
System\ComponentModel\Design\ComponentDesignerTests.cs (31)
791
.Setup(s => s.
GetSelectedComponents
())
906
.Setup(s => s.
GetSelectedComponents
())
957
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
970
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1015
.Setup(s => s.
GetSelectedComponents
())
1070
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1094
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1123
.Setup(s => s.
GetSelectedComponents
())
1176
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1187
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1216
.Setup(s => s.
GetSelectedComponents
())
1269
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1280
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1307
.Setup(s => s.
GetSelectedComponents
())
1359
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1370
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1401
.Setup(s => s.
GetSelectedComponents
())
1454
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1467
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1508
.Setup(s => s.
GetSelectedComponents
())
1561
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1574
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1606
.Setup(s => s.
GetSelectedComponents
())
1658
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1668
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1689
.Setup(s => s.
GetSelectedComponents
())
1736
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1743
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));
1879
.Setup(s => s.
GetSelectedComponents
())
1930
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Once());
1942
mockSelectionService.Verify(s => s.
GetSelectedComponents
(), Times.Exactly(2));