共用方式為


Demos from the TechEd WPF Rich Content talk

I just gave a talk at TechEd in Boston on Creating Rich Content Experiences in WPF (DEV326), for those of you that were there, I hope you enjoyed it! I got a bunch of requests to post the demos I showed:

 

New York Times’ Times Reader 

You can find a video with Kevin Gjerstad demoing this application here: https://www.on10.net/Blogs/TheShow/3392/. I can’t actually share the app but NYTimes will be having a Beta version of it out in the near future.

 

Textbox with OpenType feature dropdown menu

I demoed a RichTextBox with Adobe’s Bickham Script Pro font which has some gorgeous OpenType features. I have a blog post here w/ code doing something very similar using one of the free sample fonts we include in our SDK:

https://blogs.msdn.com/text/archive/2006/05/07/545859.aspx

 

WPF Dashboard

Attached to this blog post is a zip file containing the source code for this demo. A few caveats: 1) I didn’t include the video clip due to size, so you may want to add your own video to your project. Under the widgets folder in VideoReport.xaml you can change the Source property of the MediaElement to point to your new video. 2) I did use static screen shots for the previews of both the flow and fixed document. I didn’t think it’d make much sense for users to read a document in that thumbnail preview and it would have been a big perf hit to have a live preview of full length documents. 3) This is demo code :) so there may be some unpolished areas.

 

 

 

To start coding with WPF you’ll need the following:

 

If you have Vista Beta2 then you’ll just need:

-Visual Studio 2005

-The VS templates for WPF apps

 

If you’re using XP you’ll also need to download the WinFX (.net 3.0) runtime, it’ about a 25 meg download.

 

If you’re at TechEd, I’ll be at the WPF station in the blue Technical Learning Center near the labs if you have any questions.

 

Chris Han

WPFDashboard.zip

Comments

  • Anonymous
    June 14, 2006
    Chris -

    Can you recommend a book on XAML?
  • Anonymous
    June 16, 2006
    Programming Windows Presentation Foundation by Chris Sells is a great book on WPF and definitely covers XAML:

    http://www.oreilly.com/catalog/avalon/

    -Chris
  • Anonymous
    January 18, 2010
    Also there is another alternative for creating dashboards. Have a try <a href="http://www.dynamicdashboards.net">Dynamic Dashboards for Asp.Net</a>.