开发者

WPF : How to get mouse position in Window_Loaded(object sender, RoutedEventArgs e) event

开发者 https://www.devze.com 2023-01-26 02:33 出处:网络
WPF : How to get mouse position in Window_L开发者_JAVA技巧oaded(object sender, RoutedEventArgs e) eventHave you tried using PointToScreen(Mouse.GetPosition(this)) ?

WPF : How to get mouse position in Window_L开发者_JAVA技巧oaded(object sender, RoutedEventArgs e) event


Have you tried using PointToScreen(Mouse.GetPosition(this)) ?

(in the System.Windows.Input namespace)

0

精彩评论

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