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