1 write to _inkCanvas
PresentationFramework (1)
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (1)
63_inkCanvas = inkCanvas;
49 references to _inkCanvas
PresentationFramework (49)
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (49)
71_inkCanvas.AddHandler(Stylus.StylusInRangeEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove)); 72_inkCanvas.AddHandler(Stylus.StylusInAirMoveEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove)); 73_inkCanvas.AddHandler(Stylus.StylusOutOfRangeEvent, new StylusEventHandler(OnInkCanvasStylusOutOfRange)); 137_inkCanvas.RaiseActiveEditingModeChanged(new RoutedEventArgs(InkCanvas.ActiveEditingModeChangedEvent, _inkCanvas)); 228_inkCanvas.UpdateCursor(); 285_inkCanvas.UpdateCursor(); 357_inkCanvas.RaiseActiveEditingModeChanged(new RoutedEventArgs(InkCanvas.ActiveEditingModeChangedEvent, _inkCanvas)); 443if (stylusDevice != null && _inkCanvas.IsStylusOver && !stylusDevice.InAir) 448bool mouseDown = (_inkCanvas.IsMouseOver && Mouse.PrimaryDevice.LeftButton == MouseButtonState.Pressed); 499_lassoSelectionBehavior = new LassoSelectionBehavior(this, _inkCanvas); 515_selectionEditingBehavior = new SelectionEditingBehavior(this, _inkCanvas); 530return _inkCanvas.EditingModeInverted; 532return _inkCanvas.EditingMode; 546_selectionEditor = new SelectionEditor(this, _inkCanvas); 669if (ActiveEditingBehavior == InkCollectionBehavior && _inkCanvas.InternalDynamicRenderer != null) 674_inkCanvas.InternalDynamicRenderer.Enabled = false; 675_inkCanvas.InternalDynamicRenderer.Enabled = true; 726if ( _inkCanvas.Focus() && ActiveEditingMode != InkCanvasEditingMode.None ) 833stylusPoints = _capturedStylus.GetStylusPoints(_inkCanvas, _commonDescription); 844stylusPoints = new StylusPointCollection(new Point[] { _capturedMouse.GetPosition(_inkCanvas) }); 957if ( ActiveEditingBehavior == InkCollectionBehavior && _inkCanvas.InternalDynamicRenderer != null ) 962_inkCanvas.InternalDynamicRenderer.Enabled = false; 963_inkCanvas.InternalDynamicRenderer.Enabled = true; 1000StylusPointCollection newPoints = _capturedStylus.GetStylusPoints(_inkCanvas); 1003StylusPointDescription.GetCommonDescription(_inkCanvas.DefaultStylusPointDescription, 1022_inkCanvas.CaptureStylus(); 1024if ( _inkCanvas.IsStylusCaptured && ActiveEditingMode != InkCanvasEditingMode.None ) 1026_inkCanvas.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 1027_inkCanvas.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1041Point[] points = new Point[] { _capturedMouse.GetPosition(_inkCanvas) }; 1049_inkCanvas.CaptureMouse(); 1055if ( _inkCanvas.IsMouseCaptured && ActiveEditingMode != InkCanvasEditingMode.None ) 1057_inkCanvas.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1058_inkCanvas.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>)); 1080_inkCanvas.RemoveHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 1081_inkCanvas.RemoveHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1089_inkCanvas.ReleaseStylusCapture(); 1095_inkCanvas.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1096_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>)); 1103_inkCanvas.ReleaseMouseCapture(); 1116return (inputDevice == _capturedStylus && ((StylusDevice)inputDevice).Captured == _inkCanvas) 1117|| (inputDevice == _capturedMouse && ( (MouseDevice)inputDevice).Captured == _inkCanvas); 1299_inkCanvas.ClearSelection(true); 1315_inkCanvas.RaiseActiveEditingModeChanged(new RoutedEventArgs(InkCanvas.ActiveEditingModeChangedEvent, _inkCanvas)); 1383_inkCollectionBehavior = new InkCollectionBehavior(this, _inkCanvas); 1399_eraserBehavior = new EraserBehavior(this, _inkCanvas);