Is there way to know if current thread is not main UI thread and a switch required? Similar to Dispatcher.CheckAccess in WPF/Silverlight, CoreDispatcher.HasThreadAccess in WinRT or Control.InvokeRequired in WinForms.
↧
Is there way to know if current thread is not main UI thread and a switch required? Similar to Dispatcher.CheckAccess in WPF/Silverlight, CoreDispatcher.HasThreadAccess in WinRT or Control.InvokeRequired in WinForms.