1 write to _selSvc
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SelectionUIService.cs (1)
72_selSvc = host.GetService<ISelectionService>();
20 references to _selSvc
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\SelectionUIService.cs (17)
73_selSvc?.SelectionChanged += OnSelectionChanged; 145_selSvc?.SelectionChanged -= OnSelectionChanged; 390ICollection selection = _selSvc!.GetSelectedComponents(); 490if (_selSvc is not null) 492object? selComp = _selSvc.PrimarySelection; 508if (_dragHandler is null && _selSvc is not null) 518_selSvc.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Auto); 535_selSvc.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary); 713if (_ctrlSelect && !_mouseDragging && _selSvc is not null) 716_selSvc.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary); 923if (_selSvc is not null && _selSvc.GetComponentSelected(component)) 959if (_selSvc is null) 966ICollection col = _selSvc.GetSelectedComponents(); 977object? primary = _selSvc.PrimarySelection; 1289if (_selSvc is not null && _selSvc.GetComponentSelected(component))
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (3)
124if (_selUIsvc._selSvc is not null) 126fActive = _component == _selUIsvc._selSvc.PrimarySelection; 128fActive = (fActive == (_selUIsvc._selSvc.SelectionCount <= 1));