Home
Releases
Discussions
Issue Tracker
Source Code
Stats
People
License
RSS RSS Feed
Search Wiki:
Project Description
[New]: the solutions now contains a silverlight project which provides the equivalent turn page control for the silverlight technology (SL 2 beta 2).

The WPFBookControl is an ItemsControl that brings the turning page experience to Windows Presentation Foundation. The control is using WPF 2D regular elements (grids, clipping, gradients) to simulate shadows and a 3D
feeling. Using it is as simple as using a ListBox. You can add child items as content or use ItemsSource property to bind to any collection.


As provided previously on my blog (http://blogs.msdn.com/mitsu/archive/2007/04/18/wpf-book-control.aspx), here is a new version of the WPFBookControl.
Many people asked for some new features and my blog was really not the right place for that. Actually, adding new features to that control is not really part of my job today :p.
So here we are on a codeplex project, so those who want to contribute can add features here and users have a clean licence.

Since my previous release on my blog, here are the new features:

  • Animated "move to next/previous sheet" that animates the turning page by code so you don't need to turn the page manually.
  • DisplayMode (Normal/Zoom on page) allows you to focus on a current page instead of the whole book. Activating the "Zoom on page", you can call MoveToPreviousPage/MoveToNextPage that will animate the turning page while keeping the focus on the current page.

Some others links:

Sivlerlight version:

See also: http://blogs.msdn.com/mitsu/archive/2008/06/10/wpf-and-silverlight-bookcontrols-source-code-available.aspx

SLBookControl.png

WPF version:

bookcontrol.png
Last edited Jun 11 at 6:20 AM  by mitsu, version 9
Comments
kkrieg wrote  Nov 17 2007 at 6:44 PM  
Great job! I had to use flash and hated it. I'm new to WPF and writing this would have taken a while - you made my day :-) Thanks, Mitsu

jamesjhhan wrote  Jul 17 at 3:35 AM  
It's very kind of you to contribute this quality work, mitsu. I've been trying to figure out a way to keep the shadow from going away from within the center of the book (left page of an opened book has a subtle vertical shadow on the right side of its page and vice-versa for the right page) so that the book, when fully opened, looks more naturally like a book (similar to the Photobook Sample that comes with the latest Expression Blend). If you can point me in the right direction, I'd be grateful. Regardless, thanks again!!

Updating...