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
));
416
if (stylusDevice != null &&
_inkCanvas
.IsStylusOver && !stylusDevice.InAir)
421
bool mouseDown = (
_inkCanvas
.IsMouseOver && Mouse.PrimaryDevice.LeftButton == MouseButtonState.Pressed);
472
_lassoSelectionBehavior = new LassoSelectionBehavior(this,
_inkCanvas
);
488
_selectionEditingBehavior = new SelectionEditingBehavior(this,
_inkCanvas
);
503
return
_inkCanvas
.EditingModeInverted;
505
return
_inkCanvas
.EditingMode;
519
_selectionEditor = new SelectionEditor(this,
_inkCanvas
);
641
if (ActiveEditingBehavior == InkCollectionBehavior &&
_inkCanvas
.InternalDynamicRenderer != null)
646
_inkCanvas
.InternalDynamicRenderer.Enabled = false;
647
_inkCanvas
.InternalDynamicRenderer.Enabled = true;
686
if (
_inkCanvas
.Focus() && ActiveEditingMode != InkCanvasEditingMode.None )
780
stylusPoints = _capturedStylus.GetStylusPoints(
_inkCanvas
, _commonDescription);
791
stylusPoints = new StylusPointCollection(new Point[] { _capturedMouse.GetPosition(
_inkCanvas
) });
903
if ( ActiveEditingBehavior == InkCollectionBehavior &&
_inkCanvas
.InternalDynamicRenderer != null )
908
_inkCanvas
.InternalDynamicRenderer.Enabled = false;
909
_inkCanvas
.InternalDynamicRenderer.Enabled = true;
941
StylusPointCollection newPoints = _capturedStylus.GetStylusPoints(
_inkCanvas
);
944
StylusPointDescription.GetCommonDescription(
_inkCanvas
.DefaultStylusPointDescription,
963
_inkCanvas
.CaptureStylus();
965
if (
_inkCanvas
.IsStylusCaptured && ActiveEditingMode != InkCanvasEditingMode.None )
967
_inkCanvas
.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>));
968
_inkCanvas
.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>));
981
Point[] points = new Point[] { _capturedMouse.GetPosition(
_inkCanvas
) };
989
_inkCanvas
.CaptureMouse();
995
if (
_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();
1056
return (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
);