How to: Add Images to a WPF Project
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
You can add an image to your Windows Presentation Foundation (WPF) project by using the Image control. You assign the image by setting the Source property in the Properties window.
To add an image to a WPF project
In the Properties window, locate the Source property and then click the ellipsis button (...) in the right column.
The Choose image dialog box appears. If the project has embedded images, they are displayed.
Click Add.
The Open dialog box appears.
Navigate to a folder that contains image files.
Select one or more image files and click Open.
The selected images are displayed in the Choose image dialog box. In addition, an Images folder is created within the project, and the images are copied into it.
Select an image and click OK.
The selected image appears in the Image control. The Source property is assigned with the correct image URI syntax.