How can I create a Windows Explorer file preview screen in WPF?

I am working on an application that will have attachments, and I would like to create a display type, for example, in Windows Explorer, where you select the "Details" view and also display a preview panel.

I would like to be able to display a thumbnail of the currently selected file based on the file extension.

Does anyone know where I can start looking for examples of how to do this?

I know that Outlook 2007 can also do something similar using preview handlers . I think this will be the direction that I want to enter, but I'm not sure where to start.

Thank you very much.

Everyone applauds the glory of Hypnosis!

+4
source share
2 answers

While you can do this in WPF, you should not do this . Seriously: don't do it! - you can break many applications (including one of mine).

To do this without .NET, see here for a good guide.

+1
source

I think you can start here

http://blogs.microsoft.co.il/blogs/eyal/archive/2007/07/29/Hosting-vista_2F00_office-2007-previewers-in-winform-application.aspx

(the code is partially black on black, at least for me, but you can turn off the styles or just copy it)

+1
source

Source: https://habr.com/ru/post/1286029/


All Articles