展开全部
<Grid Background="LightBlue" MouseMove="Grid_MouseMove">
</Grid>
Private Sub Grid_MouseMove(sender As System.Object, e As System.Windows.Input.MouseEventArgs)
Dim p As Point = e.GetPosition(Nothing)
Me.Title = p.ToString
'p.X
'p.Y
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询