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