vb.net wpf how to get window idle time

Issue

This Content is from Stack Overflow. Question asked by Vlado Stare

I am new in vb.net WPF coding, need advice how to get idle time on window to prevent dispatcher timer if user is using app?
dispatcher should execute only if window idle time is greater then 1 minute

Public Sub dispatcherTimer_Tick(ByVal sender As Object, ByVal e As EventArgs)
   naloziDGV1()
   naloziDGV2()
   naloziDGV3()
End Sub



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?