Is it possible to have a floating panel on top of main window?

杨岑 166 Reputation points

I see that creating a another window in UWP is extremely difficult. Is it possible to let a panel or something floating like a tool window on top of main window?

Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. Junjie Zhu - MSFT 15,676 Reputation points Microsoft Vendor

    Hi @杨岑

    Welcome to Microsoft Q&A!

    It is possible to use floating windows, but it is difficult to achieve the desired effect. According to these two documents,

    I tried it. After using AppWindow, the floating window cannot change the minimum height, and the effect is very bad. Using ApplicationView, since it is in a separate thread, it is difficult to interact with the Main window.

    If you need a top toolbar, I recommend you take a look at the custom title bar.

    A Windows app with a search box in the title bar

    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