1 write to _selSvc
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SelectionUIService.cs (1)
72_selSvc = host.GetService<ISelectionService>();
22 references to _selSvc
System.Windows.Forms.Design (22)
System\Windows\Forms\Design\SelectionUIService.cs (19)
73if (_selSvc is not null) 75_selSvc.SelectionChanged += OnSelectionChanged; 148if (_selSvc is not null) 150_selSvc.SelectionChanged -= OnSelectionChanged; 396ICollection selection = _selSvc!.GetSelectedComponents(); 496if (_selSvc is not null) 498object? selComp = _selSvc.PrimarySelection; 514if (_dragHandler is null && _selSvc is not null) 524_selSvc.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Auto); 541_selSvc.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary); 719if (_ctrlSelect && !_mouseDragging && _selSvc is not null) 722_selSvc.SetSelectedComponents(new object[] { hti.selectionUIHit!._component }, SelectionTypes.Primary); 929if (_selSvc is not null && _selSvc.GetComponentSelected(component)) 965if (_selSvc is null) 972ICollection col = _selSvc.GetSelectedComponents(); 983object? primary = _selSvc.PrimarySelection; 1301if (_selSvc is not null && _selSvc.GetComponentSelected(component))
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (3)
127if (_selUIsvc._selSvc is not null) 129fActive = _component == _selUIsvc._selSvc.PrimarySelection; 131fActive = (fActive == (_selUIsvc._selSvc.SelectionCount <= 1));