This is a migrated thread and some comments may be shown as answers.

ScrollState.BottomStretch don't work (Mango)

1 Answer 34 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
fei
Top achievements
Rank 1
fei asked on 16 Sep 2011, 12:15 PM
in RadControls_for_WindowsPhone_2011_3_0817_DEV_hotfix  ScrollState.BottomStretch and ForceStopTopBottomScroll don't work,nodo is ok.
 
private void vList_ScrollStateChanged(object sender, ScrollStateChangedEventArgs e)
      {
           
          if (e.OldState == Telerik.Windows.Controls.ScrollState.BottomStretch || e.OldState == Telerik.Windows.Controls.ScrollState.ForceStopBottomTopScroll)
          {
          }
      }

            
      

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 16 Sep 2011, 12:59 PM
Hi Fei,

Thanks for writing.

As of Q3 2011 Mango we have migrated our RadDataBoundListBox to internally use the scrolling logic provided by the native ScrollViewer. Since in Windows Phone Mango this control has been greatly optimized for smoother user experience by handling the input on a new, separate thread and performing the scrolling there, we decided to uprage our control so that we make use of this optimization. This, however, implied some breaking changes which we listed in our release notes and loosing some of the scrolling states previously available was one of the breaking changes.

Since, however, Microsoft have announced that they will extend the visual states exposed by the ScrollViewer with further, "compression" states (actually this will happen when the user reaches the end of the scrolling area and simply stretches the content) we can map our Top-&BottomStretch states to them and re-enable them. This will happen after Microsoft officially release their development tools targeting the Mango platform.

I hope this answers your question.

Greetings,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DataBoundListBox
Asked by
fei
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or