开发者

WPF - Set monitor for WindowStartupLocation

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜