22 references to Primary
System.Windows.Forms.Design (22)
System\ComponentModel\Design\SelectionService.cs (2)
360bool fPrimary = (selectionType & SelectionTypes.Primary) == SelectionTypes.Primary;
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (1)
97selSvc.SetSelectedComponents(new object[] { _containerControl }, SelectionTypes.Primary | SelectionTypes.Toggle);
System\Windows\Forms\Design\Behavior\DesignerActionBehavior.cs (1)
126selectionService.SetSelectedComponents(componentList, SelectionTypes.Primary);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
482selSvc?.SetSelectedComponents(new object[] { _dragComponents[_primaryComponentIndex].dragComponent }, SelectionTypes.Primary | SelectionTypes.Replace);
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (1)
96selSvc?.SetSelectedComponents(new object[] { _designer.Component }, SelectionTypes.Primary);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
186i == 0 ? SelectionTypes.Primary | SelectionTypes.Replace : SelectionTypes.Add);
System\Windows\Forms\Design\ComponentTray.cs (3)
2123sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 2170sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 2213sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary);
System\Windows\Forms\Design\ControlDesigner.cs (4)
1312selectionService.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 1337selectionService?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 1403selectionService.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary | SelectionTypes.Toggle); 1931SelectionTypes.Primary);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
666SelectionService.SetSelectedComponents(new IComponent[] { _primaryDragControl }, SelectionTypes.Primary | SelectionTypes.Replace);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1733selsvc?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary);
System\Windows\Forms\Design\SelectionUIService.cs (2)
541_selSvc.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary); 722_selSvc.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
618selSvc?.SetSelectedComponents(new object[] { control }, SelectionTypes.Primary | SelectionTypes.Replace);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1937SelectionService.SetSelectedComponents(new IComponent[] { primaryItem }, SelectionTypes.Primary | SelectionTypes.Replace);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
756selSvc.SetSelectedComponents(new IComponent[] { selectedItem }, SelectionTypes.Primary | SelectionTypes.Replace);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
2787_menuItemDesigner._selectionService.SetSelectedComponents(new IComponent[] { primaryItem }, SelectionTypes.Primary | SelectionTypes.Replace);