How does this work with WPF?

http://r4r.co.in/c1/01/tutorial/csha...0C-Sharp.shtml