1

I'd like add a button for changing window state to topmost to the built-in window buttons such as maximize, minimize, and close [please refer to this pic.]

However, I'm having hard time finding the way out as WPF seems not to provide such an API. I even thought using the icon next to the window title functioning as the button for topmost, but looks not feasible.

Is there anyway like using .dll or could I inherit the window class and add the button and corresponding event handler anyhow?

Thanks.

Ikjun Jang
  • 11
  • 3

1 Answers1

0

It will be very difficult as you can see below link:

How to add an extra button to the window's title bar?

To make things easy, you should consider implementing a custom window for that. This window will have custom buttons including Close,Minimize,Maximize along with any other buttons as well.

Community
  • 1
  • 1
Rohit Garg
  • 493
  • 2
  • 12