21 references to InkCanvasSelection
PresentationFramework (21)
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
62
InkCanvas.
InkCanvasSelection
.RemoveElement(removedElement);
MS\Internal\Ink\ClipboardProcessor.cs (2)
101
InkCanvasSelection inkCanvasSelection = InkCanvas.
InkCanvasSelection
;
327
InkCanvasSelection inkCanvasSelection = InkCanvas.
InkCanvasSelection
;
MS\Internal\Ink\SelectionEditingBehavior.cs (3)
75
InkCanvas.
InkCanvasSelection
.StartFeedbackAdorner(_selectionRect, _hitResult);
142
InkCanvas.
InkCanvasSelection
.UpdateFeedbackAdorner(newRect);
399
InkCanvas.
InkCanvasSelection
.EndFeedbackAdorner(commit ? _previousRect : _selectionRect);
MS\Internal\Ink\SelectionEditor.cs (1)
202
if ( InkCanvas.
InkCanvasSelection
.HasSelection )
System\Windows\Controls\InkCanvas.cs (14)
617
inkCanvas.CoreChangeSelection(new StrokeCollection(), inkCanvas.
InkCanvasSelection
.SelectedElements, false);
1697
return
InkCanvasSelection
.SelectionBounds;
1706
return
InkCanvasSelection
.SelectedElements;
1717
sc.Add(
InkCanvasSelection
.SelectedStrokes);
1783
return
InkCanvasSelection
.HitTestSelection(point);
2133
InkCanvasSelection
.CommitChanges(Rect.Offset(bounds, -bounds.Left + point.X, -bounds.Top + point.Y), false);
2303
if ( !
InkCanvasSelection
.HasSelection )
2313
return !
InkCanvasSelection
.HasSelection;
2324
if (
InkCanvasSelection
.HasSelection )
2345
InkCanvasSelection
.SelectionIsDifferentThanCurrent(strokes, out strokesAreDifferent, elements, out elementsAreDifferent);
2397
StrokeCollection currentSelectedStrokes =
InkCanvasSelection
.SelectedStrokes;
2421
InkCanvasSelection
.Select(validStrokes, validElements, raiseSelectionChanged);
2790
args.CanExecute = inkCanvas.
InkCanvasSelection
.HasSelection;
2835
if (
InkCanvasSelection
.HasSelection && !_editingCoordinator.UserIsEditing)