Can I use NotifyIcon in WPF?

NotifyIcon is not implemented in WPF as it is in Forms, but you can still use the Windows Form NotifyIcon, it resides in the System.Windows.Forms namspace. Take a look at these tutorials, they might cover your needs: Simple solution, directly using NotifyIcon: http://www.abhisheksur.com/2012/08/notifyicon-with-wpf-applications.html More advanced solution, new library based on NotifyIcon with more features: http://www.codeproject.com/Articles/36468/WPF-NotifyIcon … Read more

Invoke NotifyIcon’s Context Menu

You would normally handle the MouseClick event to detect the click and call the ContextMenuStrip.Show() method: private void notifyIcon1_MouseClick(object sender, MouseEventArgs e) { contextMenuStrip1.Show(Control.MousePosition); } But that doesn’t actually work properly, the CMS won’t close when you click outside of it. Underlying issue is a Windows quirk (aka “bug”) that is described in this KB … Read more