Beispiel #1
0
        void OnContentPresenterPointerPressed(object sender, PointerRoutedEventArgs args)
        {
            uint  id    = args.Pointer.PointerId;
            Point point = args.GetCurrentPoint(contentPresenter).Position;

            pointerDictionary.Add(id, point);
            contentPresenter.CapturePointer(args.Pointer);

            RecalculateValue();
            args.Handled = true;
        }