19 references to SelectedStrokes
PresentationFramework (19)
MS\Internal\Ink\ClipboardProcessor.cs (2)
110StrokeCollection strokes = inkCanvasSelection.SelectedStrokes; 131Debug.Assert(inkCanvasSelection.SelectedStrokes.Count == orderedStrokes.Count);
MS\Internal\Ink\InkCanvasSelection.cs (15)
109return SelectedStrokes.Count != 0 || SelectedElements.Count != 0; 223if ( strokesAreDifferent && SelectedStrokes.Count != 0 ) 232count = SelectedStrokes.Count; 235SelectedStrokes[i].IsSelected = false; 526&& SelectedStrokes.Count == 0 ) 557if ( SelectedStrokes.Count == 0 ) 564else if ( !InkCanvasSelection.StrokesAreEqual(SelectedStrokes, strokes) ) 630foreach ( Stroke s in SelectedStrokes ) 646foreach ( Stroke s in SelectedStrokes ) 746if ( SelectedStrokes.Count > 0 ) 748TransformStrokes(SelectedStrokes, matrix); 805if ( SelectedStrokes.Contains(s) ) 811SelectedStrokes.Remove(s); 828_cachedStrokesBounds = SelectedStrokes.Count != 0 ? 829SelectedStrokes.GetBounds( ) : Rect.Empty;
System\Windows\Controls\InkCanvas.cs (2)
1718sc.Add(InkCanvasSelection.SelectedStrokes); 2394StrokeCollection currentSelectedStrokes = InkCanvasSelection.SelectedStrokes;