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