1 implementation of ISelectionUIService
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SelectionUIService.cs (1)
23internal sealed partial class SelectionUIService : Control, ISelectionUIService
44 references to ISelectionUIService
System.Windows.Forms.Design (44)
System\Windows\Forms\Design\ComponentTray.cs (3)
34private ISelectionUIService _selectionUISvc; // selection UI; we use this a lot 692_selectionUISvc = (ISelectionUIService)GetService(typeof(ISelectionUIService));
System\Windows\Forms\Design\ContainerSelectorActiveEventArgs.cs (1)
7/// Provides data for the <see cref="ISelectionUIService.ContainerSelectorActive"/> event.
System\Windows\Forms\Design\ContainerSelectorActiveEventHandler.cs (1)
7/// Represents a method that will handle a <see cref="ISelectionUIService.ContainerSelectorActive"/> event.
System\Windows\Forms\Design\ControlDesigner.cs (2)
39private ISelectionUIService? _selectionUIService; 1355_selectionUIService ??= GetService<ISelectionUIService>();
System\Windows\Forms\Design\OleDragDropHandler.cs (4)
553ISelectionUIService? selectionUISvc = GetService<ISelectionUIService>(); 835ISelectionUIService? selectionUISvc = GetService<ISelectionUIService>();
System\Windows\Forms\Design\SelectionUIService.cs (33)
324((ISelectionUIService)this).SyncSelection(); 330((ISelectionUIService)this).SyncComponent(null); 364((ISelectionUIService)this).SyncSelection(); 380((ISelectionUIService)this).SyncComponent(ce.Component); 527if (((ISelectionUIService)this).BeginDrag(rules, anchor.X, anchor.Y)) 571if (((ISelectionUIService)this).BeginDrag(rules, anchor.X, anchor.Y)) 627if (!((ISelectionUIService)this).Dragging && (_mouseDragHitTest & SelectionUIItem.MOVE_MASK) != 0) 639if (((ISelectionUIService)this).BeginDrag(_dragRules, _mouseDragAnchor.X, _mouseDragAnchor.Y)) 704((ISelectionUIService)this).DragMoved(delta); 730if (((ISelectionUIService)this).Dragging) 732((ISelectionUIService)this).EndDrag(false); 858if (((ISelectionUIService)this).Dragging) 860((ISelectionUIService)this).EndDrag(true); 874bool ISelectionUIService.Dragging 882bool ISelectionUIService.Visible 895event ContainerSelectorActiveEventHandler? ISelectionUIService.ContainerSelectorActive 910void ISelectionUIService.AssignSelectionUIHandler(object component, ISelectionUIHandler handler) 938void ISelectionUIService.ClearSelectionUIHandler(object component, ISelectionUIHandler handler) 951bool ISelectionUIService.BeginDrag(SelectionRules rules, int initialX, int initialY) 975objects = ((ISelectionUIService)this).FilterSelection(objects, rules); 1064void ISelectionUIService.DragMoved(Rectangle offset) 1104void ISelectionUIService.EndDrag(bool cancel) 1151((ISelectionUIService)this).SyncSelection(); 1169object[] ISelectionUIService.FilterSelection(object[] components, SelectionRules selectionRules) 1203Size ISelectionUIService.GetAdornmentDimensions(AdornmentType adornmentType) => adornmentType switch 1214bool ISelectionUIService.GetAdornmentHitTest(object component, Point value) => 1221bool ISelectionUIService.GetContainerSelected([NotNullWhen(true)] object? component) 1230SelectionRules ISelectionUIService.GetSelectionRules(object component) 1250SelectionStyles ISelectionUIService.GetSelectionStyle(object component) 1258void ISelectionUIService.SetContainerSelected(object component, bool selected) 1298void ISelectionUIService.SetSelectionStyle(object component, SelectionStyles style) 1323void ISelectionUIService.SyncSelection() 1354void ISelectionUIService.SyncComponent(object? component)