Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

New XBAP and Code on xamlxaml.com: ScrollingCanvas

Closed Thread
 
Thread Tools Display Modes
Old 09-28-2006   #1 (permalink)
Michael G. Emmons
Guest


 

New XBAP and Code on xamlxaml.com: ScrollingCanvas

New XBAP with Code example up at xamlXaml:
http://xamlxaml.com/2006/09/27/scrol...vas-container/

This example creates a custom user control based on the Canvas container.
This ScrollingCanvas allows you to scroll any FrameworkElement: text, video,
shapes, or even whole scenes. Moreover, you can scroll multiple
FrameworkElement objects at the same time in a single scroll container. Both
speed and direction of the scroll is controllable via dependency properties.
Simply drop the ScrollingCanvas control on the design surface or add it in
XAML, add any FrameworkElements you want to scroll to the ScrollingCanvas
container and call the ScrollBegin() method. All object scrolling is handled
through local animations in the C# codebehind.

Enjoy!

Michael G. Emmons
http://xamlxaml.com




Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Context Menu IN XBAP Boomessh Avalon 2 06-28-2007 04:54 AM
XBAP - IE6.0 - Settings patrick.moser@siemens.com Avalon 1 05-06-2007 12:54 AM
How to create an .xbap from C# Express rkgeorge Avalon 2 12-06-2006 12:50 AM
New XBAP and Code on xamlxaml.com: ScrollingCanvas Douglas Stockwell Avalon 4 09-28-2006 06:34 PM
Is there a fix for XBAP problem in IE7? Peter Fisk Vista General 0 07-01-2006 08:26 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50