I'm using TimeSpan
in my WPF application.
var trigger = new TimeTrigger();
trigger.Repetition.Interval = TimeSpan.FromSeconds(3.0);
It's give me an error:
Specified argument was out of the range of valid values.Parameter name: Interval
I've read this : https://msdn.microsoft.com/en-us/library/system.timespan.fromseconds(v=vs.110).aspx
What I'm doing wrong?