Is there any way to catch the ZoomGesture in desktop App? i mean not in touch input device
On the other hand, how can i make zoom to specific area of data? without zoomfactor
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 20 Aug 2013, 03:03 PM
Hello Alfonso,
Thank you for contacting Telerik Support.
ZoomGesture occurs when a zoom gesture was sent by a touch input device only. However, it is possible to catch zooming on MouseWheel event if the ControlKey is pressed:
public partial class Form1 : Form
{
bool IsCtrlPressed = false;
public Form1()
{
InitializeComponent();
BarSeries barSeries = new BarSeries("Performance", "RepresentativeName");
double panOffset = ratio * newStretchedAreaWidth - point.X;
this.radChartView1.Pan(-panOffset, 0);
}
}
I hope this information helps. Should you have further questions, I would be glad to help.
Regards,
Desislava
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>