# C1.WPF.Docking.WPFWindow

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Docking_WPFWindow" data-uid="C1.WPF.Docking.WPFWindow" class="text-break">WPFWindow Class
</h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.contentcontrol">ContentControl</a></div>
    <div class="level8"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.window">Window</a></div>
    <div class="level9"><span class="xref">WPFWindow</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Docking.html">C1.WPF.Docking</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Docking.4.6.2.dll</h6>
  <h5 id="C1_WPF_Docking_WPFWindow_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;ContentBorder&quot;, Type = typeof(Border))]
[TemplatePart(Name = &quot;CommonHeaderContainer&quot;, Type = typeof(Border))]
[TemplatePart(Name = &quot;HiddenButton&quot;, Type = typeof(Button))]
[TemplatePart(Name = &quot;RectTopLeft&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;RectTopMiddle&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;RectTopRight&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;RectMiddleLeft&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;RectMiddleRight&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;RectBottomLeft&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;RectBottomMiddle&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;RectBottomRight&quot;, Type = typeof(FrameworkElement))]
public class WPFWindow : Window, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;ContentBorder&quot;, Type:=GetType(Border))&gt;
&lt;TemplatePart(Name:=&quot;CommonHeaderContainer&quot;, Type:=GetType(Border))&gt;
&lt;TemplatePart(Name:=&quot;HiddenButton&quot;, Type:=GetType(Button))&gt;
&lt;TemplatePart(Name:=&quot;RectTopLeft&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;RectTopMiddle&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;RectTopRight&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;RectMiddleLeft&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;RectMiddleRight&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;RectBottomLeft&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;RectBottomMiddle&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;RectBottomRight&quot;, Type:=GetType(FrameworkElement))&gt;
Public Class WPFWindow
    Inherits Window
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Docking_WPFWindow__ctor" data-uid="C1.WPF.Docking.WPFWindow.#ctor">
          <a class="xref" href="C1.WPF.Docking.WPFWindow.-ctor.html#C1_WPF_Docking_WPFWindow__ctor">WPFWindow()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Docking.WPFWindow.html">WPFWindow</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Docking_WPFWindow_ShowHeaderProperty" data-uid="C1.WPF.Docking.WPFWindow.ShowHeaderProperty">
          <a class="xref" href="C1.WPF.Docking.WPFWindow.ShowHeaderProperty.html">ShowHeaderProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Docking.WPFWindow.ShowHeader.html#C1_WPF_Docking_WPFWindow_ShowHeader">ShowHeader</a> dependency property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Docking_WPFWindow_ShowHeader" data-uid="C1.WPF.Docking.WPFWindow.ShowHeader">
          <a class="xref" href="C1.WPF.Docking.WPFWindow.ShowHeader.html#C1_WPF_Docking_WPFWindow_ShowHeader">ShowHeader</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the common header is visible.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Docking_WPFWindow_OnApplyTemplate" data-uid="C1.WPF.Docking.WPFWindow.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Docking.WPFWindow.OnApplyTemplate.html#C1_WPF_Docking_WPFWindow_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.Docking.WPFWindow.html">WPFWindow</a> control when a new template is applied.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
