33 references to SelectionAdorner
PresentationFramework (33)
MS\Internal\Ink\InkCanvasSelection.cs (5)
517
GeneralTransform inkCanvasToSelectionAdorner = _inkCanvas.TransformToDescendant(_inkCanvas.
SelectionAdorner
);
520
InkCanvasSelectionHitResult hitResult = _inkCanvas.
SelectionAdorner
.SelectionHandleHitTest(pointOnSelectionAdorner);
892
Debug.Assert(_inkCanvas.
SelectionAdorner
.Visibility == Visibility.Visible,
895
_inkCanvas.
SelectionAdorner
.UpdateSelectionWireFrame(GetStrokesBounds(), GetElementsBounds());
899
Debug.Assert(_inkCanvas.
SelectionAdorner
.Visibility == Visibility.Collapsed,
MS\Internal\Ink\SelectionEditingBehavior.cs (13)
75
_hitResult = InkCanvas.
SelectionAdorner
.SelectionHandleHitTest(
76
mouse.GetPosition((IInputElement)(InkCanvas.
SelectionAdorner
)));
85
_previousLocation = mouse.GetPosition(InkCanvas.
SelectionAdorner
);
92
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp));
93
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove));
94
InkCanvas.
SelectionAdorner
.AddHandler(UIElement.LostMouseCaptureEvent,
104
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp));
105
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove));
106
InkCanvas.
SelectionAdorner
.RemoveHandler(UIElement.LostMouseCaptureEvent,
140
Point curPoint = args.GetPosition(InkCanvas.
SelectionAdorner
);
171
_previousRect = ChangeFeedbackRectangle(args.GetPosition(InkCanvas.
SelectionAdorner
));
391
InkCanvas.
SelectionAdorner
.CaptureMouse();
406
InkCanvas.
SelectionAdorner
.ReleaseMouseCapture();
MS\Internal\Ink\SelectionEditor.cs (14)
70
Point currentPosition = Mouse.PrimaryDevice.GetPosition(InkCanvas.
SelectionAdorner
);
90
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
91
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
92
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
93
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
95
Point currentPosition = Mouse.PrimaryDevice.GetPosition(InkCanvas.
SelectionAdorner
);
105
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
106
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
107
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
108
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
129
if ( InkCanvas.
SelectionAdorner
.IsMouseOver )
164
Point pointOnSelectionAdorner = args.GetPosition(InkCanvas.
SelectionAdorner
);
194
Point pointOnSelectionAdorner = args.GetPosition(InkCanvas.
SelectionAdorner
);
221
hitResult = InkCanvas.
SelectionAdorner
.SelectionHandleHitTest(position);
System\Windows\Controls\InkCanvas.cs (1)
362
_localAdornerDecorator.AdornerLayer.Add(
SelectionAdorner
);