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