3

WPF application with WindowState Maximized and WindowStyle None hides the taskbar. Since my application runs on a Customer Wrapper Application which has its own taskbar and Windows Start button equivalent, i need to ensure that my application doesnt hide the taskbar in maximized mode. I believe its a behavior different from what i have seen in Winforms!

H.B.
  • 166,899
  • 29
  • 327
  • 400
ioWint
  • 1,609
  • 3
  • 16
  • 34

1 Answers1

2

I've faced the same issue. The best approach is to handle this with API Calls. This code worked great for me.

Taskbar with Window Maximized and WindowState to None in WPF

Agustin Meriles
  • 4,866
  • 3
  • 29
  • 44
  • the solution works perfect in my Virtual machine running a Windows XP, but on the Custom Shell it behaves weird. And to my surprise there are different versions of the custom Shell. Waiting for the test environment with latest Custom Shell to make my application conform to its standards! Thanks Agustin! – ioWint Jan 01 '12 at 19:46
  • I'm unclear on implementation since the download link for his source is dead but simply changing the window width/height doesn't work for me. The behavior isn't what I wanted. – Ortund Jun 30 '17 at 09:33