# C1.WPF.C1Window

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1Window" data-uid="C1.WPF.C1Window" class="text-break">C1Window Class
</h1>
  <div class="markdown level0 summary"><p>Shows content in a window.</p>
</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="C1.WPF.C1HeaderedContentControl.html">C1HeaderedContentControl</a></div>
    <div class="level9"><span class="xref">C1Window</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.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1Window_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Drag&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;Root&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;Close&quot;, Type = typeof(Button))]
[TemplatePart(Name = &quot;Resize&quot;, Type = typeof(Border))]
[TemplatePart(Name = &quot;Content&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;Maximize&quot;, Type = typeof(Button))]
[TemplatePart(Name = &quot;Minimize&quot;, Type = typeof(Button))]
[TemplateVisualState(Name = &quot;Active&quot;, GroupName = &quot;ActiveStates&quot;)]
[TemplateVisualState(Name = &quot;Inactive&quot;, GroupName = &quot;ActiveStates&quot;)]
[TemplateVisualState(Name = &quot;Floating&quot;, GroupName = &quot;WindowStateStates&quot;)]
[TemplateVisualState(Name = &quot;Maximized&quot;, GroupName = &quot;WindowStateStates&quot;)]
[TemplateVisualState(Name = &quot;Minimized&quot;, GroupName = &quot;WindowStateStates&quot;)]
[TemplateVisualState(Name = &quot;Dragged&quot;, GroupName = &quot;DragStates&quot;)]
[TemplateVisualState(Name = &quot;Still&quot;, GroupName = &quot;DragStates&quot;)]
[TemplateVisualState(Name = &quot;Open&quot;, GroupName = &quot;OpenStates&quot;)]
[TemplateVisualState(Name = &quot;Closed&quot;, GroupName = &quot;OpenStates&quot;)]
public class C1Window : C1HeaderedContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Drag&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;Root&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;Close&quot;, Type:=GetType(Button))&gt;
&lt;TemplatePart(Name:=&quot;Resize&quot;, Type:=GetType(Border))&gt;
&lt;TemplatePart(Name:=&quot;Content&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;Maximize&quot;, Type:=GetType(Button))&gt;
&lt;TemplatePart(Name:=&quot;Minimize&quot;, Type:=GetType(Button))&gt;
&lt;TemplateVisualState(Name:=&quot;Active&quot;, GroupName:=&quot;ActiveStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Inactive&quot;, GroupName:=&quot;ActiveStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Floating&quot;, GroupName:=&quot;WindowStateStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Maximized&quot;, GroupName:=&quot;WindowStateStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Minimized&quot;, GroupName:=&quot;WindowStateStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Dragged&quot;, GroupName:=&quot;DragStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Still&quot;, GroupName:=&quot;DragStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Open&quot;, GroupName:=&quot;OpenStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Closed&quot;, GroupName:=&quot;OpenStates&quot;)&gt;
Public Class C1Window
    Inherits C1HeaderedContentControl
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <h5 id="C1_WPF_C1Window_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This control should not be added as the child of another control. It can either be opened as a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.popup">Popup</a> by calling the <a class="xref" href="C1.WPF.C1Window.Show.html#C1_WPF_C1Window_Show">Show()</a> method
or displayed inside a <a class="xref" href="C1.WPF.C1Window.Canvas.html#C1_WPF_C1Window_Canvas">Canvas</a> by using the <a class="xref" href="C1.WPF.C1Window.Canvas.html#C1_WPF_C1Window_Canvas">Canvas</a> property.</p>
</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_C1Window__ctor" data-uid="C1.WPF.C1Window.#ctor">
          <a class="xref" href="C1.WPF.C1Window.-ctor.html#C1_WPF_C1Window__ctor">C1Window()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.C1Window.html">C1Window</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_C1Window_ButtonBackgroundProperty" data-uid="C1.WPF.C1Window.ButtonBackgroundProperty">
          <a class="xref" href="C1.WPF.C1Window.ButtonBackgroundProperty.html">ButtonBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.ButtonBackground.html#C1_WPF_C1Window_ButtonBackground">ButtonBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ButtonForegroundProperty" data-uid="C1.WPF.C1Window.ButtonForegroundProperty">
          <a class="xref" href="C1.WPF.C1Window.ButtonForegroundProperty.html">ButtonForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.ButtonForeground.html#C1_WPF_C1Window_ButtonForeground">ButtonForeground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_DialogResultProperty" data-uid="C1.WPF.C1Window.DialogResultProperty">
          <a class="xref" href="C1.WPF.C1Window.DialogResultProperty.html">DialogResultProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.DialogResult.html#C1_WPF_C1Window_DialogResult">DialogResult</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_IsActiveProperty" data-uid="C1.WPF.C1Window.IsActiveProperty">
          <a class="xref" href="C1.WPF.C1Window.IsActiveProperty.html">IsActiveProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.IsActive.html#C1_WPF_C1Window_IsActive">IsActive</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_IsDraggableProperty" data-uid="C1.WPF.C1Window.IsDraggableProperty">
          <a class="xref" href="C1.WPF.C1Window.IsDraggableProperty.html">IsDraggableProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.IsDraggable.html#C1_WPF_C1Window_IsDraggable">IsDraggable</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_IsResizableProperty" data-uid="C1.WPF.C1Window.IsResizableProperty">
          <a class="xref" href="C1.WPF.C1Window.IsResizableProperty.html">IsResizableProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.IsResizable.html#C1_WPF_C1Window_IsResizable">IsResizable</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_LeftProperty" data-uid="C1.WPF.C1Window.LeftProperty">
          <a class="xref" href="C1.WPF.C1Window.LeftProperty.html">LeftProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.Left.html#C1_WPF_C1Window_Left">Left</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ModalBackgroundProperty" data-uid="C1.WPF.C1Window.ModalBackgroundProperty">
          <a class="xref" href="C1.WPF.C1Window.ModalBackgroundProperty.html">ModalBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.ModalBackground.html#C1_WPF_C1Window_ModalBackground">ModalBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_MouseOverBrushProperty" data-uid="C1.WPF.C1Window.MouseOverBrushProperty">
          <a class="xref" href="C1.WPF.C1Window.MouseOverBrushProperty.html">MouseOverBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.MouseOverBrush.html#C1_WPF_C1Window_MouseOverBrush">MouseOverBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_PressedBrushProperty" data-uid="C1.WPF.C1Window.PressedBrushProperty">
          <a class="xref" href="C1.WPF.C1Window.PressedBrushProperty.html">PressedBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.PressedBrush.html#C1_WPF_C1Window_PressedBrush">PressedBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ShowCloseButtonProperty" data-uid="C1.WPF.C1Window.ShowCloseButtonProperty">
          <a class="xref" href="C1.WPF.C1Window.ShowCloseButtonProperty.html">ShowCloseButtonProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.ShowCloseButton.html#C1_WPF_C1Window_ShowCloseButton">ShowCloseButton</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ShowMaximizeButtonProperty" data-uid="C1.WPF.C1Window.ShowMaximizeButtonProperty">
          <a class="xref" href="C1.WPF.C1Window.ShowMaximizeButtonProperty.html">ShowMaximizeButtonProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.ShowMaximizeButton.html#C1_WPF_C1Window_ShowMaximizeButton">ShowMaximizeButton</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ShowMinimizeButtonProperty" data-uid="C1.WPF.C1Window.ShowMinimizeButtonProperty">
          <a class="xref" href="C1.WPF.C1Window.ShowMinimizeButtonProperty.html">ShowMinimizeButtonProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.ShowMinimizeButton.html#C1_WPF_C1Window_ShowMinimizeButton">ShowMinimizeButton</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_TopProperty" data-uid="C1.WPF.C1Window.TopProperty">
          <a class="xref" href="C1.WPF.C1Window.TopProperty.html">TopProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.Top.html#C1_WPF_C1Window_Top">Top</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_WindowStateProperty" data-uid="C1.WPF.C1Window.WindowStateProperty">
          <a class="xref" href="C1.WPF.C1Window.WindowStateProperty.html">WindowStateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1Window.WindowState.html#C1_WPF_C1Window_WindowState">WindowState</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_C1Window_ButtonBackground" data-uid="C1.WPF.C1Window.ButtonBackground">
          <a class="xref" href="C1.WPF.C1Window.ButtonBackground.html#C1_WPF_C1Window_ButtonBackground">ButtonBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> that will be assigned to the Background of the buttons inside the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ButtonForeground" data-uid="C1.WPF.C1Window.ButtonForeground">
          <a class="xref" href="C1.WPF.C1Window.ButtonForeground.html#C1_WPF_C1Window_ButtonForeground">ButtonForeground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> that will be assigned to the Foreground of the buttons inside the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_Canvas" data-uid="C1.WPF.C1Window.Canvas">
          <a class="xref" href="C1.WPF.C1Window.Canvas.html#C1_WPF_C1Window_Canvas">Canvas</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.C1Window.Canvas.html#C1_WPF_C1Window_Canvas">Canvas</a> used to display the window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_DialogResult" data-uid="C1.WPF.C1Window.DialogResult">
          <a class="xref" href="C1.WPF.C1Window.DialogResult.html#C1_WPF_C1Window_DialogResult">DialogResult</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the dialog result for the window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_IsActive" data-uid="C1.WPF.C1Window.IsActive">
          <a class="xref" href="C1.WPF.C1Window.IsActive.html#C1_WPF_C1Window_IsActive">IsActive</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the window is the active window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_IsDraggable" data-uid="C1.WPF.C1Window.IsDraggable">
          <a class="xref" href="C1.WPF.C1Window.IsDraggable.html#C1_WPF_C1Window_IsDraggable">IsDraggable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or set whether the window can be dragged.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_IsResizable" data-uid="C1.WPF.C1Window.IsResizable">
          <a class="xref" href="C1.WPF.C1Window.IsResizable.html#C1_WPF_C1Window_IsResizable">IsResizable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the window can be resized and maximized.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_Left" data-uid="C1.WPF.C1Window.Left">
          <a class="xref" href="C1.WPF.C1Window.Left.html#C1_WPF_C1Window_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance from the left side of the window to the left side of its container.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ModalBackground" data-uid="C1.WPF.C1Window.ModalBackground">
          <a class="xref" href="C1.WPF.C1Window.ModalBackground.html#C1_WPF_C1Window_ModalBackground">ModalBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brushed used on the background when showing a modal window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_MouseOverBrush" data-uid="C1.WPF.C1Window.MouseOverBrush">
          <a class="xref" href="C1.WPF.C1Window.MouseOverBrush.html#C1_WPF_C1Window_MouseOverBrush">MouseOverBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to highlight the control when it has the mouse over.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_PressedBrush" data-uid="C1.WPF.C1Window.PressedBrush">
          <a class="xref" href="C1.WPF.C1Window.PressedBrush.html#C1_WPF_C1Window_PressedBrush">PressedBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to paint a button when it is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ShowCloseButton" data-uid="C1.WPF.C1Window.ShowCloseButton">
          <a class="xref" href="C1.WPF.C1Window.ShowCloseButton.html#C1_WPF_C1Window_ShowCloseButton">ShowCloseButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the close button of this window is shown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ShowMaximizeButton" data-uid="C1.WPF.C1Window.ShowMaximizeButton">
          <a class="xref" href="C1.WPF.C1Window.ShowMaximizeButton.html#C1_WPF_C1Window_ShowMaximizeButton">ShowMaximizeButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the maximize button of this window is shown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ShowMinimizeButton" data-uid="C1.WPF.C1Window.ShowMinimizeButton">
          <a class="xref" href="C1.WPF.C1Window.ShowMinimizeButton.html#C1_WPF_C1Window_ShowMinimizeButton">ShowMinimizeButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the minimize button of this window is shown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ThemeResources" data-uid="C1.WPF.C1Window.ThemeResources">
          <a class="xref" href="C1.WPF.C1Window.ThemeResources.html#C1_WPF_C1Window_ThemeResources">ThemeResources</a>
        </td>
        <td class="markdown level1 summary"><p>ResourceDictionary that is applied to the <a class="xref" href="C1.WPF.C1Window.html">C1Window</a>.
Typically used with a copy of a C1Theme used somewhere in the app
because in Silverlight, themes are not propagated automatically
through un-parented <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.popup">Popup</a> .</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_Top" data-uid="C1.WPF.C1Window.Top">
          <a class="xref" href="C1.WPF.C1Window.Top.html#C1_WPF_C1Window_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance from the top side of the window to the top side of its container.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_WindowState" data-uid="C1.WPF.C1Window.WindowState">
          <a class="xref" href="C1.WPF.C1Window.WindowState.html#C1_WPF_C1Window_WindowState">WindowState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether a window is restored, minimized, or maximized.</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_C1Window_AddDefaultPopupToVisualTree_System_Windows_Controls_Panel_" data-uid="C1.WPF.C1Window.AddDefaultPopupToVisualTree(System.Windows.Controls.Panel)">
          <a class="xref" href="C1.WPF.C1Window.AddDefaultPopupToVisualTree.html#C1_WPF_C1Window_AddDefaultPopupToVisualTree_System_Windows_Controls_Panel_">AddDefaultPopupToVisualTree(Panel)</a>
        </td>
        <td class="markdown level1 summary"><p>Call this method if you have problems with showing C1Window in your application.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_BringToFront" data-uid="C1.WPF.C1Window.BringToFront">
          <a class="xref" href="C1.WPF.C1Window.BringToFront.html#C1_WPF_C1Window_BringToFront">BringToFront()</a>
        </td>
        <td class="markdown level1 summary"><p>Puts the window in front of all windows.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_CenterOnScreen" data-uid="C1.WPF.C1Window.CenterOnScreen">
          <a class="xref" href="C1.WPF.C1Window.CenterOnScreen.html#C1_WPF_C1Window_CenterOnScreen">CenterOnScreen()</a>
        </td>
        <td class="markdown level1 summary"><p>Centers the window in its container.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ChangeVisualStateActive_System_Boolean_" data-uid="C1.WPF.C1Window.ChangeVisualStateActive(System.Boolean)">
          <a class="xref" href="C1.WPF.C1Window.ChangeVisualStateActive.html#C1_WPF_C1Window_ChangeVisualStateActive_System_Boolean_">ChangeVisualStateActive(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Active visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ChangeVisualStateDrag_System_Boolean_" data-uid="C1.WPF.C1Window.ChangeVisualStateDrag(System.Boolean)">
          <a class="xref" href="C1.WPF.C1Window.ChangeVisualStateDrag.html#C1_WPF_C1Window_ChangeVisualStateDrag_System_Boolean_">ChangeVisualStateDrag(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Drag visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ChangeVisualStateWindowState_System_Boolean_" data-uid="C1.WPF.C1Window.ChangeVisualStateWindowState(System.Boolean)">
          <a class="xref" href="C1.WPF.C1Window.ChangeVisualStateWindowState.html#C1_WPF_C1Window_ChangeVisualStateWindowState_System_Boolean_">ChangeVisualStateWindowState(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the WindowState visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_Close" data-uid="C1.WPF.C1Window.Close">
          <a class="xref" href="C1.WPF.C1Window.Close.html#C1_WPF_C1Window_Close">Close()</a>
        </td>
        <td class="markdown level1 summary"><p>Closes the window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_Hide" data-uid="C1.WPF.C1Window.Hide">
          <a class="xref" href="C1.WPF.C1Window.Hide.html#C1_WPF_C1Window_Hide">Hide()</a>
        </td>
        <td class="markdown level1 summary"><p>Hides the window without closing it.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_OnApplyTemplate" data-uid="C1.WPF.C1Window.OnApplyTemplate">
          <a class="xref" href="C1.WPF.C1Window.OnApplyTemplate.html#C1_WPF_C1Window_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.C1Window.html">C1Window</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_OnGotKeyboardFocus_System_Windows_Input_KeyboardFocusChangedEventArgs_" data-uid="C1.WPF.C1Window.OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)">
          <a class="xref" href="C1.WPF.C1Window.OnGotKeyboardFocus.html#C1_WPF_C1Window_OnGotKeyboardFocus_System_Windows_Input_KeyboardFocusChangedEventArgs_">OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_Show" data-uid="C1.WPF.C1Window.Show">
          <a class="xref" href="C1.WPF.C1Window.Show.html#C1_WPF_C1Window_Show">Show()</a>
        </td>
        <td class="markdown level1 summary"><p>Opens the window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_ShowModal" data-uid="C1.WPF.C1Window.ShowModal">
          <a class="xref" href="C1.WPF.C1Window.ShowModal.html#C1_WPF_C1Window_ShowModal">ShowModal()</a>
        </td>
        <td class="markdown level1 summary"><p>Opens the window as modal.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_C1Window_Closed" data-uid="C1.WPF.C1Window.Closed">
          <a class="xref" href="C1.WPF.C1Window.Closed.html">Closed</a>
        </td>
        <td class="markdown level1 summary"><p>Event fired when the window is closed by the user or the <a class="xref" href="C1.WPF.C1Window.Close.html#C1_WPF_C1Window_Close">Close()</a> method.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_Closing" data-uid="C1.WPF.C1Window.Closing">
          <a class="xref" href="C1.WPF.C1Window.Closing.html">Closing</a>
        </td>
        <td class="markdown level1 summary"><p>Event fired when the window is about to close, allows the handler to stop the window from being closed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_IsActiveChanged" data-uid="C1.WPF.C1Window.IsActiveChanged">
          <a class="xref" href="C1.WPF.C1Window.IsActiveChanged.html">IsActiveChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">IsActive</span> property has changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_PositionChanged" data-uid="C1.WPF.C1Window.PositionChanged">
          <a class="xref" href="C1.WPF.C1Window.PositionChanged.html">PositionChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when the window position changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Window_WindowStateChanged" data-uid="C1.WPF.C1Window.WindowStateChanged">
          <a class="xref" href="C1.WPF.C1Window.WindowStateChanged.html">WindowStateChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">WindowState</span> property has changed.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.WPF.Extensions.FindParent.html#C1_WPF_Extensions_FindParent__1_System_Windows_FrameworkElement_">Extensions.FindParent&lt;T&gt;(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetAllParents.html#C1_WPF_Extensions_GetAllParents_System_Windows_FrameworkElement_">Extensions.GetAllParents(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetVisualStateGroup.html#C1_WPF_Extensions_GetVisualStateGroup_System_Windows_FrameworkElement_System_String_">Extensions.GetVisualStateGroup(FrameworkElement, string)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___System_Windows_Data_IValueConverter_">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;, IValueConverter)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.C1TransformToVisual.html#C1_WPF_Extensions_C1TransformToVisual_System_Windows_UIElement_System_Windows_UIElement_">Extensions.C1TransformToVisual(UIElement, UIElement)</a>
  </div>

</div>
