title: WPF ReactiveUI bindings in View
body: <p>I'm creating a WPF application using Rx and ReactiveUI. Do I have to bind properties from the view in code behind reactively or is the classic way good?
  I know binding between View and ViewModel objects, I just can't figure out if there should be a different way for these xaml bindings.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;Label x:Name="FilterLabel"
     ...
     Width="{Binding ActualWidth, ElementName=TemplateLabel}"
     .../&gt;
  </code></pre>
  
  <p>Is this ok or is there a more "pro" way?</p>
  
  <pre class="lang-cs prettyprint-override"><code>this.WhenActivated(d =&gt; {
      this.OneWayBind(ViewModel, vm =&gt; vm.Toolbar,   v =&gt; v.ToolbarView.ViewModel).DisposeWith(d);
  });
  </code></pre>
  
  <p>This is how I do my ViewModel -> View bindings</p>