Any idea about WPF ScrollViewer to make it smooth scroolling like Android?

Posted by jimi on Stack Overflow See other posts from Stack Overflow or by jimi
Published on 2012-07-09T03:07:09Z Indexed on 2012/07/09 3:15 UTC
Read the original article Hit count: 191

Filed under:
|
|
|
|

I have trying a simple ScrollViewer in xaml like below:

<ScrollViewer Height="{Binding RelativeSource={RelativeSource FindAncestor, 
     AncestorType={x:Type StackPanel}}, Path=Height}" ScrollViewer.VerticalScrollBarVisibility="Visible" CanContentScroll="True">
         <DockPanel>
             <StackPanel Name="StackPanel1" OverridesDefaultStyle="False" Width="230" Height="803"
                 VerticalAlignment="Top" HorizontalAlignment="Left" Margin="23,1,0,0">
             ....Something here
             ....Something here
             ....Something here
             </StackPanel>
         </DockPanel>
</ScrollViewer>

But my question is..is it possible for us to create any smooth scrolling likes any android or iphone using WPF?

Any ideas?

© Stack Overflow or respective owner

Related posts about android

Related posts about wpf