Getting Started with WPF in F# Interactive

Links: Up

WPF (Windows Presentation Foundation) is a powerful framework for 3D and rich multimedia application development, and is part of .NET 3.0. You can find out more about WPF from many sites on the web. The primary purpose of this sample is to include the load-wpf.fsx script that adapts the event loop of F# Interactive to allow you to develop WPF applications interactively.

The sample is not particularly flashy - we'll leave that to you! We just wanted to make sure we shipped the essential script that you need to get going with F# Interactive and WPF. Just load load-wpf.fsx into your F# Interactive session, e.g. using

   #use @"load-wpf.fsx";;

We've included one sample of an image viewer in image-viewer.fsx - you search for image URLs from www.live.com and display the results in a grid. There are further F# and WPF samples on Robert Pickering's page.