Browsed by
Category: UWP

Detect the display mode of your UWP Window

Detect the display mode of your UWP Window

It all started with a request from another UWP developer: “How can I detect if a window is maximized?” The question really took me by surprise and piqued my curiosity, especially since it was coming from a talented UWP developer. First I checked docs.microsoft.com, but to my dismay, nothing, then StackOverflow: nothing, then Google, Bing… no results. This may surprise you, but UWP doesn’t provide an API to detect if a window is maximized. So how can we detect it?…

Read More Read More