Hi there,
I'm making an application and I'm using a timer in that application to change label content in WPF C# .NET.
In timer elapsed event I'm writing the following code
lblTimer.Content = "hello";
but its throwing an InvalidOperationException and gives a message "The calling thread cannot access this object because a different thread owns it."
I'm using .NET framework 3.5 and WPF with C#.
Please help me. Thanks in advance.