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