Working with ListBoxes in a Windows Phone Application -- Visual Studio Magazine

 

windows phone listbox scrolling problem

Nov 23,  · Perceived problem with ListBox scrolling in Windows Phone 7 app development (silverlight) Posted on November 23, by swerddogg This is the first blog post where I’ll (or my QuadApps partners will) share the things learned during development of Windows Phone 7 Series applications (and maybe other projects). Working with ListBoxes in a Windows Phone Application. By overriding templates, you can modify the look and feel of the ListBox without changing the underlying behavior. By Nick Randolph; 04/01/; Most Windows Phone applications need to present a list of items to the user at some point. WP7 ListBox Scrolling Not Working. Ask Question My problem is that when my ListBox has more items than will fit on a page it will not scroll properly. I can scroll the list by panning upwards with my finger but as soon as I remove my finger it jumps back to the top of the list (if the list is very long then the scrolling will not even work.


ListBox within ListBox Scrolling Problem


By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. Stack Overflow for Teams is a private, secure spot for you and your coworkers windows phone listbox scrolling problem find and share information. My problem is that when my ListBox has more items than will fit on a page it will not scroll properly. I can scroll the list by panning upwards with my finger but as soon as I remove my finger it jumps back to the top of the list if the list is very long then the scrolling will not even work to this limited extent.

I have tried numerous different layouts with no success e. Other similar questions suggested removing StackPanel which I did but made no difference or using ScrollViewer which did not work. Specify ListBox. As it is now, ListBox expands automatically to accomodate all loaded items and it grows out of the screen.

As a result you get large page with no scroller. When you add ListBox. Height, the ListBox area won't grow. Instead ListBox ScrollViewer will be activated and you'll get the effect you need. Learn more. First 10 Free. Asked 8 years, 3 months ago. Active 5 years, 8 months ago, windows phone listbox scrolling problem. Viewed 9k times, windows phone listbox scrolling problem. Matt Lacey Your question is a bit too complex. I would recommend creating a new page with a LIstBox full of strings, verify that this scrolls properly.

Then slowly add back the code you have above. When it stops working, you have found your cause! Note ScrollViewer. VerticalScrollBarVisibility is not needed. Jan Slodicka Jan Slodicka 1, 10 10 silver badges 14 14 bronze badges.

Fairly obvious I guess - but I had missed it. But what to do, if list changes dynamically, and it is not possible to set height? Old thread, but was stuck on this just now. I found this solution works, even for nested bound lists, except for some windows phone listbox scrolling problem if the Height goes over the screen height. I use databinding when the ListBox's Height changed depending on the other controls on the page.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. Featured on Meta. Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled.

 

Listbox within Listbox and scrolling trouble in Windows Phone 7 Silverlight - Stack Overflow

 

windows phone listbox scrolling problem

 

Jul 28,  · I have some structured data which i am trying to display in a combination of ListBoxes within a parent ListBox. My problem is that when selecting items in an inner ListBox the outter ListBox doesn't recognize this, i.e. scrolling the outter ListBox does not work. My idea is to subclass · A guy over at the Windows Phone 7 Forum gave me a hint which. Apr 14,  · Listbox within Listbox and scrolling trouble in Windows Phone 7 Silverlight. If I scroll by clicking on the "Expires" texbox it scrolls fine. How can I make it so that when I scroll the inner listbox the parent listbox scrolls instead. Thanks, in advance. silverlight windows-phone Windows Phone: Get Help: Smoothly Scrolling a ListBox by kirupa | 5 May The items in the first ListBox jump suddenly from one to the next, but the items in the second ListBox scroll smoothly. This is certainly more pronounced if you click on the arrow buttons in the ListBox's scrollbar.