i am working with gesture recognition in winRT using c#. I have two XAML control say rectangle and ellipse in my UI part and if i want to change the background of the control (or say want to do something )when user tap on it with touch input.so
in "tapped" event of GestureRecognizer object how can i find that which control is tapped?
void gestureRecognizer_Tapped(GestureRecognizer sender, TappedEventArgs args)
if(rectangle is tapped)
//change background of rectangle
else if(if ellipse tapped)
//change background of e
thankx in advance.