Mouse Events lost on zoom in silverlight

Posted by Ged on Stack Overflow See other posts from Stack Overflow or by Ged
Published on 2010-04-30T18:34:44Z Indexed on 2010/04/30 18:37 UTC
Read the original article Hit count: 151

Filed under:
|
|

Hi All,

I'm running into an issue where I seem to be losing mouse events. Essentially I have a grid with a bunch of controls that get refreshed (removed/re-added via Grid.Children.Clear and Grid.Children.Add(control) ) via a WCF_Service.

If I zoom in to a part of the grid where no control exists, I'm unable to zoom out. I have implemented zoom to mouse position but have logic to ensure the coordinates of the grid are never beyond the window of screen. (Eg: Grid.ActualWidth must be > 0 and Translate.X must be < Grid.ActualWidth - 200)

I have also experienced this where I can still see a section of one of the controls, but it still is not able to zoom out (unless I'm over the control).

Appreciate any and all help.

© Stack Overflow or respective owner

Related posts about silverlight-3.0

Related posts about ASP.NET