I know that there are a few similiar questions but they don´t help me:
Have got the following code to show a Image in code behind:
BitmapImage logo = new BitmapImage();
logo.BeginInit();
logo.UriSource = new `Uri("pack://application:,,,/ApplicationName;component/Images/Klar.JPG");`
logo.EndInit();
The image is in the Images folder at the same level as the bin
folder.
What is my mistake?