5
Shouts

Exposing and Binding to a Silverlight ScrollViewer’s Scrollbars | Colin Eberhardt's Adventures in WPF

published 673 days, 4 hours, 33 minutes ago posted by FantasticMrFishFantasticMrFish 673 days, 23 hours, 29 minutes ago
Thursday, July 22, 2010 2:57:55 PM GMT Wednesday, July 21, 2010 8:01:54 PM GMT

The Silverlight ScrollViewer exposes readonly properties which indicate the current vertical and horizontal scroll offset, and methods for setting the current offset. In this blog post I demonstrate a simple attached behaviour that exposes these offsets as read / write dependency properties allowing them to be bound to. The Silverlight ScrollViewer is a very useful control, if you have some content that is larger than the space available in your application, just sit it inside a ScrollViewer and it will...

category: Silverlight | clicked: 2 | | source: www.scottlogic.co.uk | show counter code
tags: Attached behavior, Silverlight, scrollviewer