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
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)
39
private
ISelectionUIService
? _selectionUIService;
1355
_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)
324
((
ISelectionUIService
)this).SyncSelection();
330
((
ISelectionUIService
)this).SyncComponent(null);
364
((
ISelectionUIService
)this).SyncSelection();
380
((
ISelectionUIService
)this).SyncComponent(ce.Component);
527
if (((
ISelectionUIService
)this).BeginDrag(rules, anchor.X, anchor.Y))
571
if (((
ISelectionUIService
)this).BeginDrag(rules, anchor.X, anchor.Y))
627
if (!((
ISelectionUIService
)this).Dragging && (_mouseDragHitTest & SelectionUIItem.MOVE_MASK) != 0)
639
if (((
ISelectionUIService
)this).BeginDrag(_dragRules, _mouseDragAnchor.X, _mouseDragAnchor.Y))
704
((
ISelectionUIService
)this).DragMoved(delta);
730
if (((
ISelectionUIService
)this).Dragging)
732
((
ISelectionUIService
)this).EndDrag(false);
858
if (((
ISelectionUIService
)this).Dragging)
860
((
ISelectionUIService
)this).EndDrag(true);
874
bool
ISelectionUIService
.Dragging
882
bool
ISelectionUIService
.Visible
895
event ContainerSelectorActiveEventHandler?
ISelectionUIService
.ContainerSelectorActive
910
void
ISelectionUIService
.AssignSelectionUIHandler(object component, ISelectionUIHandler handler)
938
void
ISelectionUIService
.ClearSelectionUIHandler(object component, ISelectionUIHandler handler)
951
bool
ISelectionUIService
.BeginDrag(SelectionRules rules, int initialX, int initialY)
975
objects = ((
ISelectionUIService
)this).FilterSelection(objects, rules);
1064
void
ISelectionUIService
.DragMoved(Rectangle offset)
1104
void
ISelectionUIService
.EndDrag(bool cancel)
1151
((
ISelectionUIService
)this).SyncSelection();
1169
object[]
ISelectionUIService
.FilterSelection(object[] components, SelectionRules selectionRules)
1203
Size
ISelectionUIService
.GetAdornmentDimensions(AdornmentType adornmentType) => adornmentType switch
1214
bool
ISelectionUIService
.GetAdornmentHitTest(object component, Point value) =>
1221
bool
ISelectionUIService
.GetContainerSelected([NotNullWhen(true)] object? component)
1230
SelectionRules
ISelectionUIService
.GetSelectionRules(object component)
1250
SelectionStyles
ISelectionUIService
.GetSelectionStyle(object component)
1258
void
ISelectionUIService
.SetContainerSelected(object component, bool selected)
1298
void
ISelectionUIService
.SetSelectionStyle(object component, SelectionStyles style)
1323
void
ISelectionUIService
.SyncSelection()
1354
void
ISelectionUIService
.SyncComponent(object? component)