title: RX: How to bind an IObservable<object> to a property (ReactiveUI)
body: <p>I have class <code>MyClient</code> with an <code>IObservable&lt;IStatus&gt;</code> (<code>Client.StatusStream()</code>). Now I would like to combine <code>ReactiveX</code> and <code>ReactiveUI</code>. But the documentation is not providing any example how to use them together.</p>
  
  <p>I have tried some extension methods so far (f.e. <code>.ToProperty</code>), but they are not working.</p>
  
  <pre class="lang-cs prettyprint-override"><code>public partial class MainWindow : ReactiveWindow&lt;AppViewModel&gt;
  {
      public MainWindow()
      {
          InitializeComponent();
          ViewModel = App.Container.GetInstance&lt;AppViewModel&gt;();
          this.WhenActivated(r =&gt;
              {
                  this.OneWayBind(ViewModel, viewModel =&gt; viewModel.Status.AoiStatus, view =&gt; view.StatusTxtbl.Text).DisposeWith(r);
                  this.OneWayBind(ViewModel, viewModel =&gt; viewModel.Status.OperationMode, view =&gt; view.OpModeTxtbl.Text).DisposeWith(r);
                  this.OneWayBind(ViewModel, viewModel =&gt; viewModel.Status.TestPlan, view =&gt; view.TestplanTxtbl.Text).DisposeWith(r);
              });
      }
  
      private async void ButtonGetStatus_OnClick(object sender, RoutedEventArgs e)
      {
          // the manual mode to get the actual status information
          var status = await ViewModel.Client.GetStatusAsync();
          ViewModel.Status = status;
      }
  }
  
  public class AppViewModel : ReactiveObject
  {
      private IStatus _Status;
      public IStatus Status
      {
          get =&gt; _Status;
          set =&gt; this.RaiseAndSetIfChanged(ref _Status, value);
      }
  
      public MyClient Client { get; }
  
      public AppViewModel(MyClient client)
      {
          Client = client;
          // automatically pushes every new status information
          Client.StatusStream(); // &lt;- How to get the data out there?
      }
  }
  </code></pre>
  
  <h2>Info</h2>
  
  <p>To notify the gui about new updates, to have to use <code>ObserveOnDispatcher</code>, see <a href="https://stackoverflow.com/a/55811495/6229375">https://stackoverflow.com/a/55811495/6229375</a></p>