title: XAML control to inherit from templates
body: <p>What controls are there to inherit from that has the property of Children and supports templating when building a custom usercontrol.</p>
  
  <p>Currently I know about <strong>Panel</strong>, but it does not support properties and methods like <strong>DefaultStyleKey</strong> and <strong>GetTemplateChild()</strong>;</p>
  
  <p>Is there an interface that I can inherit from for templates such as:</p>
  
  <pre><code>public class Scroller : Panel, ITemplates //Something like ITemplates
  {
     public override void OnApplyTemplate()
     {
          base.OnApplyTemplate();
          container = GetTemplateChild("container") as StackPanel; //I want to be able to do this
  
          this.Children; //And also be able to use this
     }
  }
  </code></pre>