void InitTapGesture() { TapGestureTrigger tap = new TapGestureTrigger(); tap.HandlesTouches = false; tap.Tap += new EventHandler(tap_Tap); }
public CircleText() { InitializeComponent(); TapGestureTrigger tap = new TapGestureTrigger(); tap.HandlesTouches = true; tap.Tap += new EventHandler(tap_Tap); Interaction.GetTriggers(this).Add(tap); }