title: wpf create a textbox with a button for openfiledialog
body: <p>I'm using a <strong>DataTemplate</strong> for a type that has a property which is the file address.  I need to create a <code>TextBox</code> with a <code>Button</code> which will open an <code>OpenFileDialog</code> and then insert the selected file address into the <code>TextBox</code>.</p>
  
  <p>I wanna know what's the best way for creating the <code>TextBox</code> and the <code>Button</code> next to it which will show the <code>OpenFileDialog</code>. And don't forget that this is a <code>DataTemplate</code> so as I know I don't have any codebehind for the <code>DataTemplate</code>.</p>
  
  <p>I was thinking about a <code>UserControl</code> but I don't if that's the best way or not?</p>
  
  <p>Thank you all</p>