Sharing Source and Skills – Source download

At the MIX ’09 conference this year, I presented a talk, “Sharing Skills and Code with Silverlight & WPF“. Here’s the sample application and control source code that was used throughout the talk.

It demonstrates simple concepts for linking files from a Silverlight to WPF project, using partial classes and partial methods, preprocessor directives, and other tools to create projects that work throughout the Microsoft Client Platform.

Silverlight sample application

Silverlight Application

WPF sample application -100% the same source

WPF Application

Download the samples – Zip, 596 KB
The Zip contains the following work:

  • Toolbar control for Silverlight and WPF
  • Sample application for the Toolbox
  • Continuum application – same XAML and CS shared between a Silverlight and WPF application that uses the DataGrid, charting controls, and our custom Toolbar control
  • Value-add code, Awesome.cs, that adds some simple functionality to the WPF application only

Hope this helps.

  • Evhen

    The download link doesn’t work. Where can I get it? Thanks

  • http://www.SilverlightArtists.com David Roh

    Thank you Jeff – this will really help.

  • http://www.SilverlightArtists.com David Roh

    Hi Jeff,

    The download link does not seem to be working.

  • samcov

    This will really help, but only if the source code link works(lol).

  • WASPCN
  • http://www.jeff.wilcox.name/ Jeff Wilcox

    Thanks folks, I’ve corrected the link. Forgot the http prefix!

  • Andrew

    Thanks Jeff

  • Pritish

    Hey,

    The following DLL shows some error.

    Please help me !!!

  • Pritish

    This is the Dll: SampleControl

  • http://www.jeff.wilcox.name/ Jeff Wilcox

    @Pritish, could you share some more information about the problem you’re seeing, so that I can help?

  • webster

    Hi Jeff, could you share where we might be able to find the source or .dlls for the WPF counterparts to the Silverlight beta 3 controls?

    I’ve tried looking on the codeplex site but have had no luck.

    I saw in the sample there was a System.Windows.Controls.DataVisualization.Toolkit for WPF, but no System.Windows.Controls.Data.DataForm, or System.Windows.Controls.Input.

    Thanks!

  • http://www.jeff.wilcox.name/ Jeff Wilcox

    @webster,
    Unfortunately, there aren’t WPF counterparts to those beta controls available today. The data visualization work was a proof of concept, but otherwise, there’s nothing new to announce here. Sorry!

  • webster

    I knew it was too good to be true (jk)!

    But I’d really like to reuse some of the SL beta 3 controls, at least the AutoCompleteBox.

    Since the SL beta 3 source code is available, maybe a quick tutorial could help get some of us started in sharing some of that source and skill over to WPF.