21 references to InkCanvasSelection
PresentationFramework (21)
src\Framework\MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
74
InkCanvas.
InkCanvasSelection
.RemoveElement(removedElement);
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (2)
121
InkCanvasSelection inkCanvasSelection = InkCanvas.
InkCanvasSelection
;
366
InkCanvasSelection inkCanvasSelection = InkCanvas.
InkCanvasSelection
;
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (3)
91
InkCanvas.
InkCanvasSelection
.StartFeedbackAdorner(_selectionRect, _hitResult);
159
InkCanvas.
InkCanvasSelection
.UpdateFeedbackAdorner(newRect);
417
InkCanvas.
InkCanvasSelection
.EndFeedbackAdorner(commit ? _previousRect : _selectionRect);
src\Framework\MS\Internal\Ink\SelectionEditor.cs (1)
239
if ( InkCanvas.
InkCanvasSelection
.HasSelection )
src\Framework\System\Windows\Controls\InkCanvas.cs (14)
632
inkCanvas.CoreChangeSelection(new StrokeCollection(), inkCanvas.
InkCanvasSelection
.SelectedElements, false);
1774
return
InkCanvasSelection
.SelectionBounds;
1783
return
InkCanvasSelection
.SelectedElements;
1794
sc.Add(
InkCanvasSelection
.SelectedStrokes);
1860
return
InkCanvasSelection
.HitTestSelection(point);
2231
InkCanvasSelection
.CommitChanges(Rect.Offset(bounds, -bounds.Left + point.X, -bounds.Top + point.Y), false);
2425
if ( !
InkCanvasSelection
.HasSelection )
2435
return !
InkCanvasSelection
.HasSelection;
2446
if (
InkCanvasSelection
.HasSelection )
2467
InkCanvasSelection
.SelectionIsDifferentThanCurrent(strokes, out strokesAreDifferent, elements, out elementsAreDifferent);
2520
StrokeCollection currentSelectedStrokes =
InkCanvasSelection
.SelectedStrokes;
2544
InkCanvasSelection
.Select(validStrokes, validElements, raiseSelectionChanged);
2933
args.CanExecute = inkCanvas.
InkCanvasSelection
.HasSelection;
2979
if (
InkCanvasSelection
.HasSelection && !_editingCoordinator.UserIsEditing)