33 references to SelectionAdorner
PresentationFramework (33)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (5)
527
GeneralTransform inkCanvasToSelectionAdorner = _inkCanvas.TransformToDescendant(_inkCanvas.
SelectionAdorner
);
530
InkCanvasSelectionHitResult hitResult = _inkCanvas.
SelectionAdorner
.SelectionHandleHitTest(pointOnSelectionAdorner);
902
Debug.Assert(_inkCanvas.
SelectionAdorner
.Visibility == Visibility.Visible,
905
_inkCanvas.
SelectionAdorner
.UpdateSelectionWireFrame(GetStrokesBounds(), GetElementsBounds());
909
Debug.Assert(_inkCanvas.
SelectionAdorner
.Visibility == Visibility.Collapsed,
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (13)
77
_hitResult = InkCanvas.
SelectionAdorner
.SelectionHandleHitTest(
78
mouse.GetPosition((IInputElement)(InkCanvas.
SelectionAdorner
)));
87
_previousLocation = mouse.GetPosition(InkCanvas.
SelectionAdorner
);
94
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp));
95
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove));
96
InkCanvas.
SelectionAdorner
.AddHandler(UIElement.LostMouseCaptureEvent,
107
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseUp));
108
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnMouseMove));
109
InkCanvas.
SelectionAdorner
.RemoveHandler(UIElement.LostMouseCaptureEvent,
143
Point curPoint = args.GetPosition(InkCanvas.
SelectionAdorner
);
174
_previousRect = ChangeFeedbackRectangle(args.GetPosition(InkCanvas.
SelectionAdorner
));
395
InkCanvas.
SelectionAdorner
.CaptureMouse();
410
InkCanvas.
SelectionAdorner
.ReleaseMouseCapture();
src\Framework\MS\Internal\Ink\SelectionEditor.cs (14)
76
Point currentPosition = Mouse.PrimaryDevice.GetPosition(InkCanvas.
SelectionAdorner
);
96
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
97
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
98
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
99
InkCanvas.
SelectionAdorner
.AddHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
101
Point currentPosition = Mouse.PrimaryDevice.GetPosition(InkCanvas.
SelectionAdorner
);
111
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseDownEvent, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
112
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
113
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseEnterEvent, new MouseEventHandler(OnAdornerMouseMoveEvent));
114
InkCanvas.
SelectionAdorner
.RemoveHandler(Mouse.MouseLeaveEvent, new MouseEventHandler(OnAdornerMouseLeaveEvent));
136
if ( InkCanvas.
SelectionAdorner
.IsMouseOver )
178
Point pointOnSelectionAdorner = args.GetPosition(InkCanvas.
SelectionAdorner
);
215
Point pointOnSelectionAdorner = args.GetPosition(InkCanvas.
SelectionAdorner
);
242
hitResult = InkCanvas.
SelectionAdorner
.SelectionHandleHitTest(position);
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
374
_localAdornerDecorator.AdornerLayer.Add(
SelectionAdorner
);