How to get mouse position

  • Thread starter Thread starter marych1979
  • Start date Start date
M

marych1979

Guest
Hi

How i get current mouse position to TextBlok.text

I need a code, a method that will work in uwp (VB)

example:

Private Sub Grid_PointerMoved(sender As Object, e As PointerRoutedEventArgs)
TexttBlock1.Text = Windows.Graphics.Display.DisplayInformation.GetForCurrentView().ScreenHeightInRawPixels

End Sub

Continue reading...
 
Back
Top