Games For Windows Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 23 July 2013

Dragging a ListView control in a fullscreen WPF touch app causes the whole window to shift

Posted on 05:24 by Unknown
I recently had a bug with the ListView control in WPF where I had a ContentControl using a ScrollViewer with the ItemsPresenter inside of it. When using touch, and navigating through the items, the whole window would shift when you reach the end of the list, which then allowed the user to access the underlying Windows shell.

The cause of this is due to a potential bug in the ScrollViewer control, where the UIElement.ManipulationBoundaryFeedback event is fired, and is not handled by the ListView. As this is a routed event, it continues up the chain and eventually reaches the Window control, which then handles the event and results in an animation of the entire window.

MSDN states:
The ManipulationBoundaryFeedback event enables applications or components to provide visual feedback when an object hits a boundary. For example, the Window class handles the ManipulationBoundaryFeedback event to cause the window to slightly move when its edge is encountered.

The fix (or hack) for this, is to hook in to the event and handle the event, so that it does not bubble up to the Window control.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Best free iPhone apps of all time
    What are the best free iPhone apps worth downloading right now? Although there are a lot of great free iPhone apps to choose from, time is m...
  • LG Optimus Vu With Android 4.0 And 5" Screen Lands In India
    Announced at MWC 2012 in February,  LG's  first phablet,  the Optimus Vu , has finally hit the Indian market. The handset has a 5" ...
  • 6 Apps To Appease Lord Ganesha
    A major festival celebrated throughout India, Ganesh Chaturthi marks the birth of Lord Ganesha . He is widely worshiped as the god of prosp...
  • Download: nexGTv Watch free live TV on your smartphone.
    View the full image nexGTv is a video streaming app that offers live TV on the move. Unlike other apps though, this one actually works, and ...
  • 10 Cool Device Concepts
      A mong the umpteen innovative ideas put forth by industry geniuses, not every device concept makes it to the market. Some of these concept...
  • Android to Peak in 2012, Windows Phone Will Overtake iOS in 2016 Says IDC
    Well, it’s certain from the headlines that IDC likes to make some bold, yet calculated predictions. And their predictions for this year have...
  • Google Maps updated with visual enhancements
    I n its latest update to Google Maps, Google has included terrain and colour gradations to represent vegetation, and labels for natural land...
  • nexGTv Live TV App Users Now Get 24x7 Call Centre For Customer Support
    The multi-platform live TV streaming app  nexGTv  has become quite popular in our country, indicated by its download page being the  most re...
  • Raksha Bandhan 2012 Gift Ideas For Your Sister
    The Hindu festive season is just around the corner, which starts with  Raksha Bandhan . This is generally considered the beginning of the ho...
  • Download: GupShup Messenger (Android, iOS, Blackberry)
    If you aren’t using WhatsApp, BBM, Facebook chat, or any of the IM clients on your phone already, then chances are you wouldn't really b...

Categories

  • .net
  • a
  • aakash
  • acer
  • agility
  • anchor free hotspot sheild app
  • andoid
  • android
  • android buyers
  • android update on samsung galaxy tab
  • apple
  • apps
  • asus
  • blackberry
  • blog
  • buy best android
  • c#
  • cpp
  • dell
  • developer
  • facebook
  • galaxy s3 explodes
  • gaming
  • get android
  • google
  • google android 4.1
  • google news
  • googletab
  • hathway
  • hcl
  • hp
  • htc
  • html
  • htmlagilitypack
  • huawei
  • iball
  • indian isp block
  • intex
  • ios apps
  • ios london 2012
  • iphone
  • iphone 5
  • jokes
  • junior
  • karbonn
  • lenovo
  • lg
  • linq
  • london 2012 mobile game
  • maps
  • mercury
  • micromax
  • microsoft
  • microsoft news
  • microsoft smartphone
  • motorola
  • new android 4.1
  • new apple iphone 5
  • new microsoft phone
  • new windows phone
  • news
  • nokia
  • nokia 808 pureview
  • nokia vs samsung
  • pack
  • programming
  • samsung
  • samsung galaxy s3
  • samsung galaxy s3 vs nokia 808
  • samsung galaxy tab
  • shopping
  • sony
  • sony xperia s ics update
  • sonygame
  • spice
  • swiftkey 3
  • swiftkey keyboard for android
  • tablets
  • torrent blocked sites
  • Tricks And Other Info
  • tumblr for ios
  • unblock torrent sites
  • upcoming android
  • videocon
  • windows
  • windows 7.8 update
  • windows phone 8
  • wishtel
  • wp 7.8
  • xbox
  • xperia s update
  • yahoo

Blog Archive

  • ▼  2013 (45)
    • ►  August (2)
    • ▼  July (2)
      • Specifying an Assembly's Location with MEF
      • Dragging a ListView control in a fullscreen WPF to...
    • ►  June (1)
    • ►  May (7)
    • ►  April (1)
    • ►  March (15)
    • ►  February (14)
    • ►  January (3)
  • ►  2012 (462)
    • ►  November (2)
    • ►  October (124)
    • ►  September (93)
    • ►  August (60)
    • ►  July (106)
    • ►  June (77)
Powered by Blogger.

About Me

Unknown
View my complete profile