This is a migrated thread and some comments may be shown as answers.

Multitouch Gestures over RadPanel

1 Answer 155 Views
Panel
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 06 Jun 2012, 08:15 AM
Hello,
i want to use two finger at same time over a panel with multitouch pad device. for example if i drag my both fingers to right, show text toRight, or if i drag my two fingers upside, another event. how can i recognize my fingers move which direction? i want to use panGesture, but it doesnt work:). 


        private void radPanel1_PanGesture(object sender, PanGestureEventArgs e)
        {
           if (e.IsEnd)
           
                if (mouseUP.X > mouseDown.X)
                    MessageBox.Show("toright");
                else if (mouseUp.X < mouseDown.X)
               MessageBox.Show("toleft");
        }


I'm appreciate if you help me
Gary

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 07 Jun 2012, 01:17 PM
Hello Gary,

Thank you for contacting us.

Please try enabling the gestures for your RadPanel by using the following code:
this.radPanel1.EnableGesture(GestureType.All);

You can find some additional information regarding touch support in this help article.

I hope this will help. Please let us know if you are still experiencing difficulties.

Kind regards,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Panel
Asked by
Gary
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or