A Tour of WPF

Back in 2005/2006 I spent quite a lot of time going around introducing WPF at various conferences and user groups and companies and I haven’t really done so much of that “introduction” type work since.

I’ve done a bunch of stuff with WPF and a bunch of talks about its enhancements in V3.5 and V3.5 Sp1 but I’ve not had to go back and do an “intro” for a while.

I did one today for a company and so I had to put some things together and I thought I’d share them here in case they’re of any use to you – some of these are deliberately very simple and I don’t think the coverage is complete but it might be a starting point for something that you’re doing.

Firstly, here’s my slides. There are some things missing but, hopefully, most of them are detailed on the slide that says “other topics” or something like that.

Slides in PPTX Format (zipped)

Slides in PPT Format

Secondly, here’s my demos. In order to use them you need to have a few files in place;

c:\temp\video.wmv

c:\temp\picture.jpg

c:\temp\track.mp3

you can use whatever video, picture and mp3 file you like but (some of) these files depend on finding those items. Note that the file extensions on these are .xml rather than .xaml as I don’t think my web-server here will serve up .xaml files.

2D Graphics

line.xml
polyline.xml
polygon.xml
rectangle.xml
ellipse.xml
path.xml
lineargradient.xml
radialgradient.xml
DrawingBrush.xml
visualbrush.xml

Layout

canvas.xml
stackpanel.xml
horizontalStackPanel.xml
wrapPanel.xml
verticalWrapPanel.xml
dockPanel.xml
grid.xml
margin.xml
transformations.xml

3D Graphics

3D.xml

Media

image.xml
video.xml
imageBrush.xml
videoBrush.xml
visualBrushMedia.xml
inkCanvas.xml
audio.xml

Documents

flowDocument.xml

Controls

contentControls.xml
templatedControls.xml

Unified Framework

everythingCombined.xml

Resources

resources.xml

Styles

styles.xml

Animations & Triggers

animations.xml
simpleTrigger.xml
moreComplexTriggers.xml

Binding

simpleBinding.xml

There are also some code bits that I use/create which I haven’t put into this post just at this point.If you want to make use of these materials, feel free. Naturally, it’s nice if you say where you got them but I’ve seen a lot of my slides/demos used in a lot of places over the years so I don’t get too upset about where they show up 🙂