Recommended

  • Silverlight.FX
    Silverlight.FX is a light-weight application framework for building RichInternet Applications with Silverlight 2.
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight

Silverlight Hosting

Skip Navigation LinksHome / News / View News

How to: Animate the Horizontal/VerticalOffset properties of a ScrollViewer

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Aug 06, 2009
(0 votes)

In this blog post David Anson explains how to animate the Horizontal/VerticalOffset properties of a Silverlight/WPF ScrollViewer control.

Just in case you've never tried this yourself, I'll tell you that it's not quite as easy as you'd think; those two properties are both read-only and therefore can't be animated by a DoubleAnimation. The official way to accomplish this task is to call the ScrollToHorizontalOffset or ScrollToVerticalOffset method - but of course that can't be done by a DoubleAnimation either.
Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 6 and 2 and type the answer here: