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
));
443
if (stylusDevice != null &&
_inkCanvas
.IsStylusOver && !stylusDevice.InAir)
448
bool mouseDown = (
_inkCanvas
.IsMouseOver && Mouse.PrimaryDevice.LeftButton == MouseButtonState.Pressed);
499
_lassoSelectionBehavior = new LassoSelectionBehavior(this,
_inkCanvas
);
515
_selectionEditingBehavior = new SelectionEditingBehavior(this,
_inkCanvas
);
530
return
_inkCanvas
.EditingModeInverted;
532
return
_inkCanvas
.EditingMode;
546
_selectionEditor = new SelectionEditor(this,
_inkCanvas
);
669
if (ActiveEditingBehavior == InkCollectionBehavior &&
_inkCanvas
.InternalDynamicRenderer != null)
674
_inkCanvas
.InternalDynamicRenderer.Enabled = false;
675
_inkCanvas
.InternalDynamicRenderer.Enabled = true;
726
if (
_inkCanvas
.Focus() && ActiveEditingMode != InkCanvasEditingMode.None )
833
stylusPoints = _capturedStylus.GetStylusPoints(
_inkCanvas
, _commonDescription);
844
stylusPoints = new StylusPointCollection(new Point[] { _capturedMouse.GetPosition(
_inkCanvas
) });
957
if ( ActiveEditingBehavior == InkCollectionBehavior &&
_inkCanvas
.InternalDynamicRenderer != null )
962
_inkCanvas
.InternalDynamicRenderer.Enabled = false;
963
_inkCanvas
.InternalDynamicRenderer.Enabled = true;
1000
StylusPointCollection newPoints = _capturedStylus.GetStylusPoints(
_inkCanvas
);
1003
StylusPointDescription.GetCommonDescription(
_inkCanvas
.DefaultStylusPointDescription,
1022
_inkCanvas
.CaptureStylus();
1024
if (
_inkCanvas
.IsStylusCaptured && ActiveEditingMode != InkCanvasEditingMode.None )
1026
_inkCanvas
.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>));
1027
_inkCanvas
.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>));
1041
Point[] points = new Point[] { _capturedMouse.GetPosition(
_inkCanvas
) };
1049
_inkCanvas
.CaptureMouse();
1055
if (
_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();
1116
return (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
);