Search code examples
uwplocationwindowcoordinatesdisplay

How to position a UWP top level window with a fixed width to appears on the side of the display (like a TaskBar)


I can't find how to change the initial coordinate of a top level window (the Main Window) to appears on the side of the display (to look like a docked toolbar)?

Please not that I do not want to have a Top Level Window that fill the whole screen with a Docking container, either if the the window background is transparent.

I want to only cover the side of the screen (similar to the Windows TaskBar).


Solution

  • I’m afraid there is no way to make window close to side of the screen. Currently, uwp doesn’t provide such api to support this feature requirement. If you do want this feature, please submit your feature requirement to Windows Feedback Hub app.