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

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

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