19 references to SelectedStrokes
PresentationFramework (19)
MS\Internal\Ink\ClipboardProcessor.cs (2)
104StrokeCollection strokes = inkCanvasSelection.SelectedStrokes; 125Debug.Assert(inkCanvasSelection.SelectedStrokes.Count == orderedStrokes.Count);
MS\Internal\Ink\InkCanvasSelection.cs (15)
97return SelectedStrokes.Count != 0 || SelectedElements.Count != 0; 211if ( strokesAreDifferent && SelectedStrokes.Count != 0 ) 220count = SelectedStrokes.Count; 223SelectedStrokes[i].IsSelected = false; 514&& SelectedStrokes.Count == 0 ) 545if ( SelectedStrokes.Count == 0 ) 552else if ( !InkCanvasSelection.StrokesAreEqual(SelectedStrokes, strokes) ) 618foreach ( Stroke s in SelectedStrokes ) 634foreach ( Stroke s in SelectedStrokes ) 734if ( SelectedStrokes.Count > 0 ) 736TransformStrokes(SelectedStrokes, matrix); 793if ( SelectedStrokes.Contains(s) ) 799SelectedStrokes.Remove(s); 816_cachedStrokesBounds = SelectedStrokes.Count != 0 ? 817SelectedStrokes.GetBounds( ) : Rect.Empty;
System\Windows\Controls\InkCanvas.cs (2)
1718sc.Add(InkCanvasSelection.SelectedStrokes); 2398StrokeCollection currentSelectedStrokes = InkCanvasSelection.SelectedStrokes;