1 write to _inkCanvas
PresentationFramework (1)
MS\Internal\Ink\EditingCoordinator.cs (1)
55
_inkCanvas
= inkCanvas;
49 references to _inkCanvas
PresentationFramework (49)
MS\Internal\Ink\EditingCoordinator.cs (49)
63
_inkCanvas
.AddHandler(Stylus.StylusInRangeEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove));
64
_inkCanvas
.AddHandler(Stylus.StylusInAirMoveEvent, new StylusEventHandler(OnInkCanvasStylusInAirOrInRangeMove));
65
_inkCanvas
.AddHandler(Stylus.StylusOutOfRangeEvent, new StylusEventHandler(OnInkCanvasStylusOutOfRange));
125
_inkCanvas
.RaiseActiveEditingModeChanged(new RoutedEventArgs(InkCanvas.ActiveEditingModeChangedEvent,
_inkCanvas
));
216
_inkCanvas
.UpdateCursor();
273
_inkCanvas
.UpdateCursor();
345
_inkCanvas
.RaiseActiveEditingModeChanged(new RoutedEventArgs(InkCanvas.ActiveEditingModeChangedEvent,
_inkCanvas
));
431
if (stylusDevice != null &&
_inkCanvas
.IsStylusOver && !stylusDevice.InAir)
436
bool mouseDown = (
_inkCanvas
.IsMouseOver && Mouse.PrimaryDevice.LeftButton == MouseButtonState.Pressed);
487
_lassoSelectionBehavior = new LassoSelectionBehavior(this,
_inkCanvas
);
503
_selectionEditingBehavior = new SelectionEditingBehavior(this,
_inkCanvas
);
518
return
_inkCanvas
.EditingModeInverted;
520
return
_inkCanvas
.EditingMode;
534
_selectionEditor = new SelectionEditor(this,
_inkCanvas
);
656
if (ActiveEditingBehavior == InkCollectionBehavior &&
_inkCanvas
.InternalDynamicRenderer != null)
661
_inkCanvas
.InternalDynamicRenderer.Enabled = false;
662
_inkCanvas
.InternalDynamicRenderer.Enabled = true;
701
if (
_inkCanvas
.Focus() && ActiveEditingMode != InkCanvasEditingMode.None )
795
stylusPoints = _capturedStylus.GetStylusPoints(
_inkCanvas
, _commonDescription);
806
stylusPoints = new StylusPointCollection(new Point[] { _capturedMouse.GetPosition(
_inkCanvas
) });
918
if ( ActiveEditingBehavior == InkCollectionBehavior &&
_inkCanvas
.InternalDynamicRenderer != null )
923
_inkCanvas
.InternalDynamicRenderer.Enabled = false;
924
_inkCanvas
.InternalDynamicRenderer.Enabled = true;
956
StylusPointCollection newPoints = _capturedStylus.GetStylusPoints(
_inkCanvas
);
959
StylusPointDescription.GetCommonDescription(
_inkCanvas
.DefaultStylusPointDescription,
978
_inkCanvas
.CaptureStylus();
980
if (
_inkCanvas
.IsStylusCaptured && ActiveEditingMode != InkCanvasEditingMode.None )
982
_inkCanvas
.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>));
983
_inkCanvas
.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>));
996
Point[] points = new Point[] { _capturedMouse.GetPosition(
_inkCanvas
) };
1004
_inkCanvas
.CaptureMouse();
1010
if (
_inkCanvas
.IsMouseCaptured && ActiveEditingMode != InkCanvasEditingMode.None )
1012
_inkCanvas
.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>));
1013
_inkCanvas
.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
1035
_inkCanvas
.RemoveHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>));
1036
_inkCanvas
.RemoveHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>));
1044
_inkCanvas
.ReleaseStylusCapture();
1050
_inkCanvas
.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>));
1051
_inkCanvas
.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
1058
_inkCanvas
.ReleaseMouseCapture();
1071
return (inputDevice == _capturedStylus && ((StylusDevice)inputDevice).Captured ==
_inkCanvas
)
1072
|| (inputDevice == _capturedMouse && ( (MouseDevice)inputDevice).Captured ==
_inkCanvas
);
1253
_inkCanvas
.ClearSelection(true);
1269
_inkCanvas
.RaiseActiveEditingModeChanged(new RoutedEventArgs(InkCanvas.ActiveEditingModeChangedEvent,
_inkCanvas
));
1337
_inkCollectionBehavior = new InkCollectionBehavior(this,
_inkCanvas
);
1353
_eraserBehavior = new EraserBehavior(this,
_inkCanvas
);