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