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