gmtek
gmtek

Reputation: 811

Add WPF to right click menu of some file type

I am developing a WPF application (C#) for Windows 7. I want to add my WPF application in right click menu for some file types.

It's like if you select some mp3 files and right click on it there is a option "Add to Windows Media Player List". I want to copy same behavior.

Any suggestion will really help.

Upvotes: 0

Views: 958

Answers (1)

Rudolfking
Rudolfking

Reputation: 81

It is a bit old question, but it can be done via C#. It is called "context menu shell extension".

https://github.com/dwmkerr/sharpshell

It is not so simple (shell extension needs to be registered for file types etc.), but this library simplifies the development and installation process.

Upvotes: 1

Related Questions