开发者

WPF - Set monitor for WindowStartupLocation

开发者 https://www.devze.com 2023-03-13 17:18 出处:网络
How can I do if I want to choose in which monitor the window I created will 开发者_开发技巧be displayed ?You can use Screen.PrimaryScreen and/or Screen.AllScreens(collection) to get the location of th

How can I do if I want to choose in which monitor the window I created will 开发者_开发技巧be displayed ?


You can use Screen.PrimaryScreen and/or Screen.AllScreens (collection) to get the location of the screen and position your window accordingly.

0

精彩评论

暂无评论...
验证码 换一张
取 消