19 references to SelectedStrokes
PresentationFramework (19)
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (2)
123StrokeCollection strokes = inkCanvasSelection.SelectedStrokes; 144Debug.Assert(inkCanvasSelection.SelectedStrokes.Count == orderedStrokes.Count);
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (15)
117return SelectedStrokes.Count != 0 || SelectedElements.Count != 0; 232if ( strokesAreDifferent && SelectedStrokes.Count != 0 ) 241count = SelectedStrokes.Count; 244SelectedStrokes[i].IsSelected = false; 536&& SelectedStrokes.Count == 0 ) 567if ( SelectedStrokes.Count == 0 ) 574else if ( !InkCanvasSelection.StrokesAreEqual(SelectedStrokes, strokes) ) 640foreach ( Stroke s in SelectedStrokes ) 656foreach ( Stroke s in SelectedStrokes ) 756if ( SelectedStrokes.Count > 0 ) 758TransformStrokes(SelectedStrokes, matrix); 815if ( SelectedStrokes.Contains(s) ) 821SelectedStrokes.Remove(s); 838_cachedStrokesBounds = SelectedStrokes.Count != 0 ? 839SelectedStrokes.GetBounds( ) : Rect.Empty;
src\Framework\System\Windows\Controls\InkCanvas.cs (2)
1794sc.Add(InkCanvasSelection.SelectedStrokes); 2520StrokeCollection currentSelectedStrokes = InkCanvasSelection.SelectedStrokes;