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