0

Im trying to get a popup to appear above the taskbar always regardless of the main window position. What can we do in WPF to achieve this?

How do I get a WPF popup to always appear above the windows taskbar? Thanks!

theOne
  • 357
  • 1
  • 2
  • 12
  • try always on top with a state less window. – pushpraj Oct 08 '14 at 12:59
  • are you after a notification icon like implementation? if so, there is a very good implementation on [Codeproject](http://www.codeproject.com/Articles/36468/WPF-NotifyIcon) – Krishna Oct 08 '14 at 13:04

1 Answers1

0

In form load event make like changes.

int screenWidth = Screen.PrimaryScreen.WorkingArea.Height-(width of your form popup);

int screenHeight = Screen.PrimaryScreen.WorkingArea.Width-(height of your form popup);

this.Location = new Point(screenWidth, screenHeight);