title: WPF Datagrid Popup Placement
body: <p>I am showing a Popup when users double click a DataGrid row, is there a way to show this popup at the right of the SelectedItem?</p>
  
  <p>Here is my current code:</p>
  
  <pre><code>&lt;Popup PlacementTarget="{Binding ElementName=dgWarnings}" Placement="Right" Name="InfoPopup" PopupAnimation="Slide" AllowsTransparency="True" IsOpen="{Binding ShowInfo}"&gt;        
  </code></pre>
  
  <p></p>
  
  <p>I obviously cannot bind to the selected item property as this is not a UI item.</p>
  
  <p>As I mentioned I would like to display it on the right hand side of the currently selected item in the datagrid.</p>
  
  <p>Any suggestions?</p>