2 writes to Strokes
PresentationFramework (2)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (1)
412
((InkCanvas)InnerControl).
Strokes
= strokes;
MS\Internal\Ink\ClipboardProcessor.cs (1)
322
inkCanvas.
Strokes
= strokes;
24 references to Strokes
PresentationFramework (24)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (3)
364
((InkCanvas)InnerControl).
Strokes
.Clear();
375
StrokeCollection strokes = ((InkCanvas)InnerControl).
Strokes
;
432
return ((InkCanvas)InnerControl).
Strokes
.Count == 0;
MS\Internal\Ink\ClipboardProcessor.cs (2)
112
StrokeCollection inkCanvasStrokes = InkCanvas.
Strokes
; //cache to avoid multiple property gets
373
newStrokes = rootInkCanvas.
Strokes
;
MS\Internal\Ink\EraserBehavior.cs (4)
199
this.InkCanvas.
Strokes
.GetIncrementalStrokeHitTester(this.InkCanvas.EraserShape);
358
InkCanvas.
Strokes
.Remove(e.HitStroke);
407
this.InkCanvas.
Strokes
.Replace(strokesToReplace, eraseResult);
411
this.InkCanvas.
Strokes
.Remove(strokesToReplace);
MS\Internal\Ink\InkCanvasSelection.cs (4)
613
if ( _inkCanvas.
Strokes
!= null )
615
_inkCanvas.
Strokes
.StrokesChanged -= new StrokeCollectionChangedEventHandler(this.OnStrokeCollectionChanged);
629
if ( _inkCanvas.
Strokes
!= null )
631
_inkCanvas.
Strokes
.StrokesChanged += new StrokeCollectionChangedEventHandler(this.OnStrokeCollectionChanged);
MS\Internal\Ink\LassoSelectionBehavior.cs (2)
600
this.InkCanvas.
Strokes
.GetIncrementalLassoHitTester(_percentIntersectForInk);
637
StrokeCollection hitTestStrokes = InkCanvas.
Strokes
.HitTest(point, 5.0d);
System\Windows\Controls\InkCanvas.cs (7)
1102
this.
Strokes
.Add(e.Stroke);
1111
this.
Strokes
.Add(e.Stroke);
2108
Strokes
.Add(newStrokes);
2485
return GetValidStrokes(strokes, this.
Strokes
);
2666
Strokes
.Remove(strokes);
2723
inkCanvas.Select(inkCanvas.
Strokes
, children);
2796
&& (inkCanvas.
Strokes
.Count > 0 || inkCanvas.Children.Count > 0));
System\Windows\Controls\StickyNote.cs (2)
1531
StartListenToStrokesEvent(inkCanvas.
Strokes
);
1556
StopListenToStrokesEvent(inkCanvas.
Strokes
);