2 writes to Strokes
PresentationFramework (2)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (1)
411
((InkCanvas)InnerControl).
Strokes
= strokes;
MS\Internal\Ink\ClipboardProcessor.cs (1)
321
inkCanvas.
Strokes
= strokes;
24 references to Strokes
PresentationFramework (24)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (3)
363
((InkCanvas)InnerControl).
Strokes
.Clear();
374
StrokeCollection strokes = ((InkCanvas)InnerControl).
Strokes
;
431
return ((InkCanvas)InnerControl).
Strokes
.Count == 0;
MS\Internal\Ink\ClipboardProcessor.cs (2)
111
StrokeCollection inkCanvasStrokes = InkCanvas.
Strokes
; //cache to avoid multiple property gets
372
newStrokes = rootInkCanvas.
Strokes
;
MS\Internal\Ink\EraserBehavior.cs (4)
197
this.InkCanvas.
Strokes
.GetIncrementalStrokeHitTester(this.InkCanvas.EraserShape);
356
InkCanvas.
Strokes
.Remove(e.HitStroke);
405
this.InkCanvas.
Strokes
.Replace(strokesToReplace, eraseResult);
409
this.InkCanvas.
Strokes
.Remove(strokesToReplace);
MS\Internal\Ink\InkCanvasSelection.cs (4)
612
if ( _inkCanvas.
Strokes
!= null )
614
_inkCanvas.
Strokes
.StrokesChanged -= new StrokeCollectionChangedEventHandler(this.OnStrokeCollectionChanged);
628
if ( _inkCanvas.
Strokes
!= null )
630
_inkCanvas.
Strokes
.StrokesChanged += new StrokeCollectionChangedEventHandler(this.OnStrokeCollectionChanged);
MS\Internal\Ink\LassoSelectionBehavior.cs (2)
598
this.InkCanvas.
Strokes
.GetIncrementalLassoHitTester(_percentIntersectForInk);
635
StrokeCollection hitTestStrokes = InkCanvas.
Strokes
.HitTest(point, 5.0d);
System\Windows\Controls\InkCanvas.cs (7)
1113
this.
Strokes
.Add(e.Stroke);
1122
this.
Strokes
.Add(e.Stroke);
2121
Strokes
.Add(newStrokes);
2500
return GetValidStrokes(strokes, this.
Strokes
);
2681
Strokes
.Remove(strokes);
2738
inkCanvas.Select(inkCanvas.
Strokes
, children);
2811
&& (inkCanvas.
Strokes
.Count > 0 || inkCanvas.Children.Count > 0));
System\Windows\Controls\StickyNote.cs (2)
1499
StartListenToStrokesEvent(inkCanvas.
Strokes
);
1524
StopListenToStrokesEvent(inkCanvas.
Strokes
);