Skip to content

djanri/WpfImageProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WpfImageProject

This project is going to show you two ways of loading images in the Image control.

The first approach is simpler in implementation. All you need is to set the Source property to the path of the image file. The main feature here is the source file is locked. You can't delete it or reuse it after loading to the Image control. If you'll try to do it you get the message like "The file is used by another process".

image

The second approach is more difficult. And you get possibility to reuse the image file or even delete it. How to do it? You need to load the image file to BitmapImage in code. Do not forget to set CacheOption to OnLoad value!

image

About

Examples of displaying images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages