1 write to _inkCanvas
PresentationFramework (1)
MS\Internal\Ink\EditingCoordinator.cs (1)
40_inkCanvas = inkCanvas;
49 references to _inkCanvas
PresentationFramework (49)
MS\Internal\Ink\EditingCoordinator.cs (49)
48_inkCanvas.AddHandler(Stylus.StylusInRangeEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove)); 49_inkCanvas.AddHandler(Stylus.StylusInAirMoveEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove)); 50_inkCanvas.AddHandler(Stylus.StylusOutOfRangeEvent, new StylusEventHandler(OnInkCanvasStylusOutOfRange)); 110_inkCanvas.RaiseActiveEditingModeChanged(new RoutedEventArgs(InkCanvas.ActiveEditingModeChangedEvent, _inkCanvas)); 201_inkCanvas.UpdateCursor(); 258_inkCanvas.UpdateCursor(); 330_inkCanvas.RaiseActiveEditingModeChanged(new RoutedEventArgs(InkCanvas.ActiveEditingModeChangedEvent, _inkCanvas)); 416if (stylusDevice != null && _inkCanvas.IsStylusOver && !stylusDevice.InAir) 421bool mouseDown = (_inkCanvas.IsMouseOver && Mouse.PrimaryDevice.LeftButton == MouseButtonState.Pressed); 472_lassoSelectionBehavior = new LassoSelectionBehavior(this, _inkCanvas); 488_selectionEditingBehavior = new SelectionEditingBehavior(this, _inkCanvas); 503return _inkCanvas.EditingModeInverted; 505return _inkCanvas.EditingMode; 519_selectionEditor = new SelectionEditor(this, _inkCanvas); 641if (ActiveEditingBehavior == InkCollectionBehavior && _inkCanvas.InternalDynamicRenderer != null) 646_inkCanvas.InternalDynamicRenderer.Enabled = false; 647_inkCanvas.InternalDynamicRenderer.Enabled = true; 686if ( _inkCanvas.Focus() && ActiveEditingMode != InkCanvasEditingMode.None ) 780stylusPoints = _capturedStylus.GetStylusPoints(_inkCanvas, _commonDescription); 791stylusPoints = new StylusPointCollection(new Point[] { _capturedMouse.GetPosition(_inkCanvas) }); 903if ( ActiveEditingBehavior == InkCollectionBehavior && _inkCanvas.InternalDynamicRenderer != null ) 908_inkCanvas.InternalDynamicRenderer.Enabled = false; 909_inkCanvas.InternalDynamicRenderer.Enabled = true; 941StylusPointCollection newPoints = _capturedStylus.GetStylusPoints(_inkCanvas); 944StylusPointDescription.GetCommonDescription(_inkCanvas.DefaultStylusPointDescription, 963_inkCanvas.CaptureStylus(); 965if ( _inkCanvas.IsStylusCaptured && ActiveEditingMode != InkCanvasEditingMode.None ) 967_inkCanvas.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 968_inkCanvas.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 981Point[] points = new Point[] { _capturedMouse.GetPosition(_inkCanvas) }; 989_inkCanvas.CaptureMouse(); 995if ( _inkCanvas.IsMouseCaptured && ActiveEditingMode != InkCanvasEditingMode.None ) 997_inkCanvas.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 998_inkCanvas.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>)); 1020_inkCanvas.RemoveHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 1021_inkCanvas.RemoveHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1029_inkCanvas.ReleaseStylusCapture(); 1035_inkCanvas.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1036_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>)); 1043_inkCanvas.ReleaseMouseCapture(); 1056return (inputDevice == _capturedStylus && ((StylusDevice)inputDevice).Captured == _inkCanvas) 1057|| (inputDevice == _capturedMouse && ( (MouseDevice)inputDevice).Captured == _inkCanvas); 1238_inkCanvas.ClearSelection(true); 1254_inkCanvas.RaiseActiveEditingModeChanged(new RoutedEventArgs(InkCanvas.ActiveEditingModeChangedEvent, _inkCanvas)); 1322_inkCollectionBehavior = new InkCollectionBehavior(this, _inkCanvas); 1338_eraserBehavior = new EraserBehavior(this, _inkCanvas);