2 writes to Strokes
PresentationFramework (2)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (1)
417
((InkCanvas)InnerControl).
Strokes
= strokes;
MS\Internal\Ink\ClipboardProcessor.cs (1)
328
inkCanvas.
Strokes
= strokes;
24 references to Strokes
PresentationFramework (24)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (3)
369
((InkCanvas)InnerControl).
Strokes
.Clear();
380
StrokeCollection strokes = ((InkCanvas)InnerControl).
Strokes
;
437
return ((InkCanvas)InnerControl).
Strokes
.Count == 0;
MS\Internal\Ink\ClipboardProcessor.cs (2)
118
StrokeCollection inkCanvasStrokes = InkCanvas.
Strokes
; //cache to avoid multiple property gets
379
newStrokes = rootInkCanvas.
Strokes
;
MS\Internal\Ink\EraserBehavior.cs (4)
211
this.InkCanvas.
Strokes
.GetIncrementalStrokeHitTester(this.InkCanvas.EraserShape);
370
InkCanvas.
Strokes
.Remove(e.HitStroke);
419
this.InkCanvas.
Strokes
.Replace(strokesToReplace, eraseResult);
423
this.InkCanvas.
Strokes
.Remove(strokesToReplace);
MS\Internal\Ink\InkCanvasSelection.cs (4)
625
if ( _inkCanvas.
Strokes
!= null )
627
_inkCanvas.
Strokes
.StrokesChanged -= new StrokeCollectionChangedEventHandler(this.OnStrokeCollectionChanged);
641
if ( _inkCanvas.
Strokes
!= null )
643
_inkCanvas.
Strokes
.StrokesChanged += new StrokeCollectionChangedEventHandler(this.OnStrokeCollectionChanged);
MS\Internal\Ink\LassoSelectionBehavior.cs (2)
609
this.InkCanvas.
Strokes
.GetIncrementalLassoHitTester(_percentIntersectForInk);
646
StrokeCollection hitTestStrokes = InkCanvas.
Strokes
.HitTest(point, 5.0d);
System\Windows\Controls\InkCanvas.cs (7)
1114
this.
Strokes
.Add(e.Stroke);
1123
this.
Strokes
.Add(e.Stroke);
2120
Strokes
.Add(newStrokes);
2497
return GetValidStrokes(strokes, this.
Strokes
);
2678
Strokes
.Remove(strokes);
2735
inkCanvas.Select(inkCanvas.
Strokes
, children);
2808
&& (inkCanvas.
Strokes
.Count > 0 || inkCanvas.Children.Count > 0));
System\Windows\Controls\StickyNote.cs (2)
1547
StartListenToStrokesEvent(inkCanvas.
Strokes
);
1572
StopListenToStrokesEvent(inkCanvas.
Strokes
);