33 references to SelectionAdorner
PresentationFramework (33)
MS\Internal\Ink\InkCanvasSelection.cs (5)
505
GeneralTransform inkCanvasToSelectionAdorner = _inkCanvas.TransformToDescendant(_inkCanvas.
SelectionAdorner
);
508
InkCanvasSelectionHitResult hitResult = _inkCanvas.
SelectionAdorner
.SelectionHandleHitTest(pointOnSelectionAdorner);
880
Debug.Assert(_inkCanvas.
SelectionAdorner
.Visibility == Visibility.Visible,
883
_inkCanvas.
SelectionAdorner
.UpdateSelectionWireFrame(GetStrokesBounds(), GetElementsBounds());
887
Debug.Assert(_inkCanvas.
SelectionAdorner
.Visibility == Visibility.Collapsed,
MS\Internal\Ink\SelectionEditingBehavior.cs (13)
62
_hitResult = InkCanvas.
SelectionAdorner
.SelectionHandleHitTest(
63
mouse.GetPosition((IInputElement)(InkCanvas.
SelectionAdorner
)));
72
_previousLocation = mouse.GetPosition(InkCanvas.
SelectionAdorner
);
79
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp));
80
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove));
81
InkCanvas.
SelectionAdorner
.AddHandler(UIElement.LostMouseCaptureEvent,
91
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp));
92
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove));
93
InkCanvas.
SelectionAdorner
.RemoveHandler(UIElement.LostMouseCaptureEvent,
127
Point curPoint = args.GetPosition(InkCanvas.
SelectionAdorner
);
158
_previousRect = ChangeFeedbackRectangle(args.GetPosition(InkCanvas.
SelectionAdorner
));
378
InkCanvas.
SelectionAdorner
.CaptureMouse();
393
InkCanvas.
SelectionAdorner
.ReleaseMouseCapture();
MS\Internal\Ink\SelectionEditor.cs (14)
55
Point currentPosition = Mouse.PrimaryDevice.GetPosition(InkCanvas.
SelectionAdorner
);
75
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
76
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
77
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
78
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
80
Point currentPosition = Mouse.PrimaryDevice.GetPosition(InkCanvas.
SelectionAdorner
);
90
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
91
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
92
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
93
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
114
if ( InkCanvas.
SelectionAdorner
.IsMouseOver )
149
Point pointOnSelectionAdorner = args.GetPosition(InkCanvas.
SelectionAdorner
);
179
Point pointOnSelectionAdorner = args.GetPosition(InkCanvas.
SelectionAdorner
);
206
hitResult = InkCanvas.
SelectionAdorner
.SelectionHandleHitTest(position);
System\Windows\Controls\InkCanvas.cs (1)
350
_localAdornerDecorator.AdornerLayer.Add(
SelectionAdorner
);