21 references to InkCanvasSelection
PresentationFramework (21)
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
66
InkCanvas.
InkCanvasSelection
.RemoveElement(removedElement);
MS\Internal\Ink\ClipboardProcessor.cs (2)
108
InkCanvasSelection inkCanvasSelection = InkCanvas.
InkCanvasSelection
;
334
InkCanvasSelection inkCanvasSelection = InkCanvas.
InkCanvasSelection
;
MS\Internal\Ink\SelectionEditingBehavior.cs (3)
89
InkCanvas.
InkCanvasSelection
.StartFeedbackAdorner(_selectionRect, _hitResult);
156
InkCanvas.
InkCanvasSelection
.UpdateFeedbackAdorner(newRect);
413
InkCanvas.
InkCanvasSelection
.EndFeedbackAdorner(commit ? _previousRect : _selectionRect);
MS\Internal\Ink\SelectionEditor.cs (1)
218
if ( InkCanvas.
InkCanvasSelection
.HasSelection )
System\Windows\Controls\InkCanvas.cs (14)
620
inkCanvas.CoreChangeSelection(new StrokeCollection(), inkCanvas.
InkCanvasSelection
.SelectedElements, false);
1698
return
InkCanvasSelection
.SelectionBounds;
1707
return
InkCanvasSelection
.SelectedElements;
1718
sc.Add(
InkCanvasSelection
.SelectedStrokes);
1784
return
InkCanvasSelection
.HitTestSelection(point);
2132
InkCanvasSelection
.CommitChanges(Rect.Offset(bounds, -bounds.Left + point.X, -bounds.Top + point.Y), false);
2300
if ( !
InkCanvasSelection
.HasSelection )
2310
return !
InkCanvasSelection
.HasSelection;
2321
if (
InkCanvasSelection
.HasSelection )
2342
InkCanvasSelection
.SelectionIsDifferentThanCurrent(strokes, out strokesAreDifferent, elements, out elementsAreDifferent);
2394
StrokeCollection currentSelectedStrokes =
InkCanvasSelection
.SelectedStrokes;
2418
InkCanvasSelection
.Select(validStrokes, validElements, raiseSelectionChanged);
2787
args.CanExecute = inkCanvas.
InkCanvasSelection
.HasSelection;
2832
if (
InkCanvasSelection
.HasSelection && !_editingCoordinator.UserIsEditing)