title: WPF tutorial for creating a custom usercontrol
body: <p>I'm looking for a tutorial that explains creating custom usercontrols in WPF.</p>
  
  <p>I want to have one control that combines a textblock, a textbox, and a button that launches a common fileopen dialog. I have the layout done and everything wired up. It's works but it's three independent controls. Hopefully there is a tutorial out there that explains how to turn this into one usercontrol and wire up everything so I can expose certain properties of the control, like the text in the textbox, to the rest of my WPF app.</p>