0

My WPF application does not shown in windows task manager application tab but it shown in taskbar and task manager processes tab. How do I fix this problem? or what is the problem?

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
Amin Mousavi
  • 668
  • 1
  • 8
  • 17
  • 3
    Does your application maybe have a zero length window title? –  Sep 02 '12 at 12:12
  • Thanks @fmunkert! I have forgotten to set `Windows title`. – Amin Mousavi Sep 13 '12 at 07:33
  • Hi. I have the same issue. App is not showing in task manager. Window `Title` is okay, as well as `WindowStyle`. App is running perfectly. But simply does not appear in task manager. I'm running the app from bin/debug. Please advise. – Yisroel M. Olewski Nov 03 '21 at 13:19

1 Answers1

1

Have you set the WindowStyle="ToolWindow"?

If so then that's why it's not showing in the Applications tab of Task Manager.

If you were using that style so that you could get rid of the minimize/maximize buttons, then an alternative way is to restyle the Window template.

Or you could use some of the ideas here to change the style of the Window without using a ToolWindow style.

Community
  • 1
  • 1
Colin Smith
  • 12,375
  • 4
  • 39
  • 47