c# wpf background image programmatically code example
Example: how to add background image in wpf application
<Window.Background>
<ImageBrush ImageSource="/Images/sahara.jpg" Stretch="Fill" />
</Window.Background>
<Window.Background>
<ImageBrush ImageSource="/Images/sahara.jpg" Stretch="Fill" />
</Window.Background>