Check out example codes for "O thread de chamada não pode aceder a este objecto porque existe outro thread que já o tem". It will help you in understanding the concepts better.

Code Example 1

Application.Current.Dispatcher.BeginInvoke(
  DispatcherPriority.Background,
  new Action(() => 
    button_proximo.RaiseEvent(new RoutedEventArgs(System.Windows.Controls.Primitives.ButtonBase.ClickEvent));
);

Learn ReactJs, React Native from akashmittal.com