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