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