Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7699499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:29:34+00:00 2026-05-31T22:29:34+00:00

I am using a pivot page in my wp7 application. The PivotItems are added

  • 0

I am using a pivot page in my wp7 application. The PivotItems are added programatically. I need to get events of all the gestures. How can I get them?

And, how to know the direction of flick gesture? After swiping how to get details of the current item.

I was trying this : WP7: Questions regarding Touch Gestures. But could not add

<toolkit:GestureService.GestureListener>
        <toolkit:GestureListener Flick="GestureListener_Flick" />
</toolkit:GestureService.GestureListener>

when I am trying to add this, an error occurs.

How can I get gesture events?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:29:35+00:00Added an answer on May 31, 2026 at 10:29 pm

    There is additional support for detecting touch in the XNA library. Trying adding the Microsoft.Xna.Framework.Input.Touch reference to your project

    Include the following using statement:

    using Microsoft.Xna.Framework.Input.Touch;
    

    Subscribe to the required events in your constructor as follows:

    TouchPanel.EnabledGestures = GestureType.Tap | GestureType.Flick;
    

    On your control create an event for Manipulation Completed as follows:

    ManipulationCompleted="Object_ManipulationCompleted"
    

    You could add code to the that event method to track the type of events that have been completed with the following code:

    private void Object_ManipulationCompleted(object sender, ManipulationCompletedEventArgs e)
    {
        while (TouchPanel.IsGestureAvailable)
        {
            GestureSample gesture = TouchPanel.ReadGesture();
    
            if (gesture.GestureType == GestureType.Tap)
            {
                //Do something
            }
    
            if (gesture.GestureType == GestureType.Flick)
            {
                //The delta contains the direction of the flick (negative/positive)
                //gesture.Delta.Y;
                //gesture.Delta.X;
            }
    
        }
    }
    

    Hope this Helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think I need a way to perform a pivot or crosstab using C#
In my Phone 7 application, I'm using a pivot control. Now I'd like to
Is there a way I can create Excel Pivot tables using ASP .NET 3.5
Is there any way to create a pivot and/or cross-tab query using for SQLite
Using PHP, I can convert MySQL data or static table data to csv, Excel,
Every example of using PIVOT in MSSQL shows people using this to aggregate data.
does anyone know if there's any good online tutorial for building pivot tables using
Using Django 1.1, how could I create a crosstab (pivot table) SQL query using
Implementing the basic algorithm using last array as a pivot in Java, is it
I am using a Pivot control with databinding. The ItemsSource for the pivot is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.