I'm very early along my WPF book, but can't you do something like...

c.Content = theImage;

?