1 implementation of ISelectionUIService
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SelectionUIService.cs (1)
23
internal sealed partial class SelectionUIService : Control,
ISelectionUIService
44 references to ISelectionUIService
System.Windows.Forms.Design (44)
System\Windows\Forms\Design\ComponentTray.cs (3)
34
private
ISelectionUIService
_selectionUISvc; // selection UI; we use this a lot
686
_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)
39
private
ISelectionUIService
? _selectionUIService;
1370
_selectionUIService ??= GetService<
ISelectionUIService
>();
System\Windows\Forms\Design\OleDragDropHandler.cs (4)
553
ISelectionUIService
? selectionUISvc = GetService<
ISelectionUIService
>();
835
ISelectionUIService
? selectionUISvc = GetService<
ISelectionUIService
>();
System\Windows\Forms\Design\SelectionUIService.cs (33)
318
((
ISelectionUIService
)this).SyncSelection();
324
((
ISelectionUIService
)this).SyncComponent(null);
358
((
ISelectionUIService
)this).SyncSelection();
374
((
ISelectionUIService
)this).SyncComponent(ce.Component);
521
if (((
ISelectionUIService
)this).BeginDrag(rules, anchor.X, anchor.Y))
565
if (((
ISelectionUIService
)this).BeginDrag(rules, anchor.X, anchor.Y))
621
if (!((
ISelectionUIService
)this).Dragging && (_mouseDragHitTest & SelectionUIItem.MOVE_MASK) != 0)
633
if (((
ISelectionUIService
)this).BeginDrag(_dragRules, _mouseDragAnchor.X, _mouseDragAnchor.Y))
698
((
ISelectionUIService
)this).DragMoved(delta);
724
if (((
ISelectionUIService
)this).Dragging)
726
((
ISelectionUIService
)this).EndDrag(false);
852
if (((
ISelectionUIService
)this).Dragging)
854
((
ISelectionUIService
)this).EndDrag(true);
868
bool
ISelectionUIService
.Dragging
876
bool
ISelectionUIService
.Visible
889
event ContainerSelectorActiveEventHandler?
ISelectionUIService
.ContainerSelectorActive
904
void
ISelectionUIService
.AssignSelectionUIHandler(object component, ISelectionUIHandler handler)
932
void
ISelectionUIService
.ClearSelectionUIHandler(object component, ISelectionUIHandler handler)
945
bool
ISelectionUIService
.BeginDrag(SelectionRules rules, int initialX, int initialY)
969
objects = ((
ISelectionUIService
)this).FilterSelection(objects, rules);
1055
void
ISelectionUIService
.DragMoved(Rectangle offset)
1095
void
ISelectionUIService
.EndDrag(bool cancel)
1142
((
ISelectionUIService
)this).SyncSelection();
1157
object[]
ISelectionUIService
.FilterSelection(object[] components, SelectionRules selectionRules)
1191
Size
ISelectionUIService
.GetAdornmentDimensions(AdornmentType adornmentType) => adornmentType switch
1202
bool
ISelectionUIService
.GetAdornmentHitTest(object component, Point value) =>
1209
bool
ISelectionUIService
.GetContainerSelected([NotNullWhen(true)] object? component)
1218
SelectionRules
ISelectionUIService
.GetSelectionRules(object component)
1238
SelectionStyles
ISelectionUIService
.GetSelectionStyle(object component)
1246
void
ISelectionUIService
.SetContainerSelected(object component, bool selected)
1286
void
ISelectionUIService
.SetSelectionStyle(object component, SelectionStyles style)
1311
void
ISelectionUIService
.SyncSelection()
1342
void
ISelectionUIService
.SyncComponent(object? component)