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