I got a bunch of Pictures and Videos in a directory and needs to be displayed in the WPF application, I am thinking about displaying the Win7 Large Icon itself as the preview im
When using the Windows API Code Pack, you can do:
XAML
C#
img.Source = ShellFile.FromFilePath(@"C:\path\to\file.ext").Thumbnail.BitmapSource;
This requires adding the Microsoft-WindowsAPICodePack-Shell package and the appropriate namespaces.