I would like to show the filename under each thumbnail. How would I do this?
Here is the code how I show the thumbnails by now:
private void ShowThumbnails(string currentFolder)
{
wpfThumbnailViewer1.Images.Clear();
foreach (var file in Directory.GetFiles(currentFolder).Where(f => f.EndsWith(".png") || f.EndsWith(".jpg") || f.EndsWith(".jpeg")))
{
wpfThumbnailViewer1.Images.Add(file);
}
}
I work with Visual Studio 10 Express, WPF and C#Thank you for your help,
Heinz
