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