dotMorten / WinUIEx

WinUI Extensions
https://dotmorten.github.io/WinUIEx
MIT License
573 stars 36 forks source link

Enhance MonitorInfo class #168

Closed Jack251970 closed 4 weeks ago

Jack251970 commented 3 months ago

When I was working on a project using WinUIEx, I found that the MonitorInfo class could not provide parameters related to the primary monitor.

So, I went online to search and complete this commit.

Hopefully I'll get this update in the Nuget package soon!

Jack251970 commented 3 months ago

I have edited my codes with your advice.

Jack251970 commented 3 months ago

Add support to get the display monitor closest to a given window.

Jack251970 commented 3 months ago

Add support for relative coordinates.