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)
793.Setup(s => s.GetSelectedComponents()) 908.Setup(s => s.GetSelectedComponents()) 959mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 972mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2)); 1017.Setup(s => s.GetSelectedComponents()) 1072mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 1096mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2)); 1125.Setup(s => s.GetSelectedComponents()) 1178mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 1189mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2)); 1218.Setup(s => s.GetSelectedComponents()) 1271mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 1282mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2)); 1309.Setup(s => s.GetSelectedComponents()) 1361mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 1372mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2)); 1403.Setup(s => s.GetSelectedComponents()) 1456mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 1469mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2)); 1510.Setup(s => s.GetSelectedComponents()) 1563mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 1576mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2)); 1608.Setup(s => s.GetSelectedComponents()) 1660mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 1670mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2)); 1691.Setup(s => s.GetSelectedComponents()) 1738mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 1745mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2)); 1881.Setup(s => s.GetSelectedComponents()) 1932mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Once()); 1944mockSelectionService.Verify(s => s.GetSelectedComponents(), Times.Exactly(2));