2 writes to Strokes
PresentationFramework (2)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (1)
423
((InkCanvas)InnerControl).
Strokes
= strokes;
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (1)
360
inkCanvas.
Strokes
= strokes;
24 references to Strokes
PresentationFramework (24)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (3)
375
( (InkCanvas)InnerControl ).
Strokes
.Clear();
386
StrokeCollection strokes = ((InkCanvas)InnerControl).
Strokes
;
443
return ( (InkCanvas)InnerControl ).
Strokes
.Count == 0;
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (2)
131
StrokeCollection inkCanvasStrokes = InkCanvas.
Strokes
; //cache to avoid multiple property gets
424
newStrokes = rootInkCanvas.
Strokes
;
src\Framework\MS\Internal\Ink\EraserBehavior.cs (4)
213
this.InkCanvas.
Strokes
.GetIncrementalStrokeHitTester(this.InkCanvas.EraserShape);
372
InkCanvas.
Strokes
.Remove(e.HitStroke);
422
this.InkCanvas.
Strokes
.Replace(strokesToReplace, eraseResult);
426
this.InkCanvas.
Strokes
.Remove(strokesToReplace);
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (4)
635
if ( _inkCanvas.
Strokes
!= null )
637
_inkCanvas.
Strokes
.StrokesChanged -= new StrokeCollectionChangedEventHandler(this.OnStrokeCollectionChanged);
651
if ( _inkCanvas.
Strokes
!= null )
653
_inkCanvas.
Strokes
.StrokesChanged += new StrokeCollectionChangedEventHandler(this.OnStrokeCollectionChanged);
src\Framework\MS\Internal\Ink\LassoSelectionBehavior.cs (2)
613
this.InkCanvas.
Strokes
.GetIncrementalLassoHitTester(_percentIntersectForInk);
650
StrokeCollection hitTestStrokes = InkCanvas.
Strokes
.HitTest(point, 5.0d);
src\Framework\System\Windows\Controls\InkCanvas.cs (7)
1148
this.
Strokes
.Add(e.Stroke);
1157
this.
Strokes
.Add(e.Stroke);
2219
Strokes
.Add(newStrokes);
2637
return GetValidStrokes(strokes, this.
Strokes
);
2818
Strokes
.Remove(strokes);
2875
inkCanvas.Select(inkCanvas.
Strokes
, children);
2954
&& (inkCanvas.
Strokes
.Count > 0 || inkCanvas.Children.Count > 0));
src\Framework\System\Windows\Controls\StickyNote.cs (2)
1557
StartListenToStrokesEvent(inkCanvas.
Strokes
);
1582
StopListenToStrokesEvent(inkCanvas.
Strokes
);