Exemplo n.º 1
0
        public DraggableBoxView()
        {
            TouchEffect touchEffect = new TouchEffect
            {
                Capture = true
            };

            touchEffect.TouchAction += OnTouchEffectAction;
            Effects.Add(touchEffect);
        }
Exemplo n.º 2
0
        public DraggableImage()
        {
            TouchEffect touchEffect = new TouchEffect
            {
                Capture = true
            };

            touchEffect.TouchAction += OnTouchEffectAction;
            IsEnabled = true;
            Effects.Add(touchEffect);
        }