I have an application where I need to switch visibility of some controls using a timer. Each 5 seconds, some controls disappears while some other appears. When I used a timer, it says that cannot change the visibility because the timer thread is not the owner of the control.
How can we bypass that?
Tks
Either use the Dispatcher to marshall it back to the UI thread, or you might want to consider using an animation instead? It would be very straightforward to setup an timeline in Blend to do this entirely in XAML.