WPF : How to get mouse position in Window_Loaded(object sender, RoutedEventArgs e) event
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)
精彩评论