WPF UserControls: Image Path

Here’s an example image path for use in WPF UserControls

string.Format(@"/EventMonitor.Controls;component/Images/{0}.png", EventType);

This can be generated by going to Xaml page, typing <Image> and selecting the image from the Properties Window.

About vijayvepa

I'm a software consultant for Software Specialists Inc. currently working at Philips Respironics, Pittsburgh

Leave a comment