How to disable minimise button in a uwp app?

Abhishek Jakabal 86 Reputation points
2022-01-25T06:01:16.667+00:00

I want to disable the minimize button in my UWP app, basically i don't want anyone to minimize the UWP app. Please provide a solution asap.

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,851 Reputation points
    2022-01-25T08:52:29.147+00:00

    Hello,
    Welcome to Microsoft Q&A!

    I want to disable the minimize button in my UWP app

    I'm afraid there is not such api could disable minimize button, it was manage by system level.

    basically i don't want anyone to minimize the UWP app

    For this requirement, we have a workaround that make desktop extension part to call UWP part to foreground. And you could refer stefan's blog Global hotkey registration in UWP
    it contains code that how to call UWP part to foreground.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments