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

  • Home
  • SEARCH
  • 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 6852789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:26:03+00:00 2026-05-27T01:26:03+00:00

The DragCompleted event of a wp7 control has a parameter of type DragCompletedGestureEventArgs that

  • 0

The DragCompleted event of a wp7 control has a parameter of type DragCompletedGestureEventArgs that contains the variables HorizontalVelocity and VerticalVelocity.

How are these velocity variables interpreted? I get a value of 0 for a slow drag and a value of >4000 for a fast drag, but I’m not sure how I can relate these numbers into a number of pixels dragged per time interval value.

Background of my question: In my program the user can grab an object and then drag it. I want the object to continue moving (up to a standstill) when the user lets go of the object.

  • 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-27T01:26:04+00:00Added an answer on May 27, 2026 at 1:26 am

    You can’t relate them into pixels. But you can create a relative scale according to the velocity, and then how much it should slow down / speed up, based on the velocity.

    If you think of the Pictures Hub image viewer, then you can see that you can pan around images, but if you use a high enough velocity, it’ll flick to the next/previous image.

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

Sidebar

Related Questions

I have an AdvancedDataGrid with editable parameter to true. My problem is that after
I'm using an accordion container that has it's creation policy set to auto. One
<toolkit:GestureListener DragDelta=taskitem_DragDelta DragCompleted=taskitem_DragCompleted/> The code above always shows an error in Blend4, Invalid XAML
I have two Lists that both are drag-drop enabled. I also draw a chart
I have stackpanel in a canvas The stackpanel has <Canvas x:Name=MyCanvas> <Slider Template={StaticResource simpleSlider}
I have two mx:TileList controls that I'm using to allow editing of objects in
I thought about keeping the amount of pixels the user has dragged the screen,
Please, let's focus on the horizontal size (width). I have horizontal StackPanel which auto-resizes
In a legacy component I was troubleshooting, I stumbled across the following: <CustomControls:DiscreteSlider x:Name=slider
I found this Pinch-to-zoom example at http://forums.create.msdn.com Here is the xaml: <Grid x:Name=ContentPanel Grid.Row=1

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.