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 7798989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:09:48+00:00 2026-06-02T00:09:48+00:00

Is it possible to get notification of any MouseMove event, even those marked as

  • 0

Is it possible to get notification of any MouseMove event, even those marked as handled? I have the following Xaml:

<Grid x:Name="ParentContainer">
  <ScrollViewer>
    ...
  </ScrollViewer>
</Grid>

My goal is to get all MouseMove events on the ScrollViewer, or something reasonably close to it like the ParentContainer, without resorting to setting ManipulationMode=”Control” on the ScrollViewer for the best possible performance.

Handling MouseMove on the ParentContainer (or the ScrollViewer) works when ManipulationMode=”Control” is set on the ScrollViewer, but not when ManipulationMode=”System”. It sounds like to improve performance in Mango, the ScrollViewer started swallowing MouseMove events to improve performance. However, I’d expect to be able to get those handled events as follows:

ParentContainer.AddHandler(???.MouseMoveEvent, MyMouseMoveHandler, true);

In Silverlight or WPF I would expect that code to route all mouse events to MyMouseMoveHandler, even handled events. Unfortunately I can’t find a static definition of MouseMoveEvent to pass to AddHandler.

Has anyone had success using AddHandler with MouseMoveEvent in WP7?

My last resort may be to add an overlay on top of the ScrollViewer with Background=”Transparent” that would capture all Mouse events, but not mark them as handled and see if they propagate down to the ScrollViewer.

  • 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-06-02T00:09:49+00:00Added an answer on June 2, 2026 at 12:09 am

    In Windows Phone OS 7.1, changes were made to specifically improve the scrolling of the ScrollViewer control. To do this they had to move the listening of the touch gestures to a separate thread. This meant an architecture level change for how the control listened to the gestures. With Windows Phone 7.1, there is now 3 threads responsible for scrolling the ScrollViewer: one for input, one for animations, and one for creating new items.

    As a result of this change, you will not be able to capture the handled mouse events from this control, unless you set the ManipulationMode to Control. As you stated in your question though, this will disable the changes which were made to improve scrolling performance.

    You cannot expect that a solution which will work for non-Windows Phone Silverlight will work in this case because the underlying architecture is fundamentally different on the phone starting with Windows Phone 7.1.

    Here is Microsoft’s blog post regarding the change: http://blogs.msdn.com/b/slmperf/archive/2011/06/02/listbox-scrollviewer-performance-improvement-for-mango-and-how-it-impacts-your-existing-application.aspx

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

Sidebar

Related Questions

Is it possible to get notification/event/run application when call is rejected? If so is
Possible Duplicate: Get variable name. javascript “reflection” Is there a way to know the
Possible Duplicate: Get file name from URI string in C# How to extract file
Is it possible to get a notification (that launches the app) when the network
iPhone doesn't allow background processes to run, but is possible to get a notification
Is it possible to somehow get the currently shown Notification from a given window
Is it possible to use a UILocalNotification (or any outside notification/long-term multitasking) to play
Is it possible to get a notification (like callback) when a CSS transition has
I'm wondering if it's possible to receive toast push-notifications (or any push-notification for that
Possible Duplicate: Notification when WPF UI closes I have asked a very similar question

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.