开发者

How to make my program read edge of screen so that can window snapping [duplicate]

开发者 https://www.devze.com 2023-03-13 09:29 出处:网络
This question already has an answer here: An开发者_如何学运维chor Window to Screen Edges in WPF
This question already has an answer here: An开发者_如何学运维chor Window to Screen Edges in WPF (1 answer) Closed 3 years ago.

i have a program of WPF using .Net C#.

please help me how to make my program can read edge of screen so that can window snapping.


you can use SystemParameters.WorkArea rectangle Or
SystemParameters.PrimaryScreenWidth and SystemParameters.PrimaryScreenHeight for screen size.

0

精彩评论

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