title: Which element to use to modularize WPF applications?
body: <p>Lets say I have a search box, which is a stack panel containing a <code>TextBox</code> and a <code>Button</code> with an icon. For easier re-usability I would like to extract said search box into a separate file.  </p>
  
  <p>What would I use to wrap the searchbox? I have all the functionality as attached behaviors, so I don't need any code behind. </p>
  
  <p><code>ItemsControl</code> doesn't fit, because I don't want to display items, <code>ContentControl</code> does not, because I have no content...</p>
  
  <p>Could you give me hints how to fragmentalize in XAML? The only examples I find are for <code>ResourceDictionarys</code>, but not everything is a <code>Style</code>.</p>