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)
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)
精彩评论