ScrollState.BottomStretch don't work (Mango)

2 posts, 0 answers
  1. fei
    fei avatar
    1 posts
    Member since:
    Mar 2011

    Posted 16 Sep 2011 Link to this post

    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)
              {
              }
          }

                
          
  2. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 16 Sep 2011 Link to this post

    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 >>

  3. DevCraft banner
Back to Top