Thursday, May 22, 2008

Sliding / Scrolling Viewer

Thanks to WilliamStacey over at the Blend Forum for help on this:

Make a StackPanel inside a ScrollViewer. Make the StackPanel layout horizontal and add your pictures or icons or whatever you want! Size it to view all (Auto for W and H). Set your ScrollViewer to Horizontal scrollbar and remove Vertical scrollbar. You could add your own custom buttons below to scroll using events.

There is also a ButtonGallary sample in Blend 2 (under Help/WelcomeScreen) that could be what your looking.

No comments: