'Declaration
<System.Windows.TemplatePartAttribute(Name="Content", Type=System.Windows.FrameworkElement)>
<System.Windows.TemplatePartAttribute(Name="Close", Type=System.Windows.Controls.Button)>
<System.Windows.TemplateVisualStateAttribute(Name="Closed", GroupName="OpenStates")>
<System.Windows.TemplatePartAttribute(Name="Resize", Type=System.Windows.Controls.Border)>
<System.Windows.TemplatePartAttribute(Name="Maximize", Type=System.Windows.Controls.Button)>
<System.Windows.TemplatePartAttribute(Name="Minimize", Type=System.Windows.Controls.Button)>
<System.Windows.TemplateVisualStateAttribute(Name="Active", GroupName="ActiveStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Inactive", GroupName="ActiveStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Open", GroupName="OpenStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Floating", GroupName="WindowStateStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Maximized", GroupName="WindowStateStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Minimized", GroupName="WindowStateStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Dragged", GroupName="DragStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Still", GroupName="DragStates")>
<System.Windows.TemplatePartAttribute(Name="Drag", Type=System.Windows.FrameworkElement)>
<System.Windows.TemplatePartAttribute(Name="Root", Type=System.Windows.FrameworkElement)>
Public Class C1Window
Inherits C1HeaderedContentControl
'Usage
Dim instance As C1Window
[System.Windows.TemplatePart(Name="Content", Type=System.Windows.FrameworkElement)]
[System.Windows.TemplatePart(Name="Close", Type=System.Windows.Controls.Button)]
[System.Windows.TemplateVisualState(Name="Closed", GroupName="OpenStates")]
[System.Windows.TemplatePart(Name="Resize", Type=System.Windows.Controls.Border)]
[System.Windows.TemplatePart(Name="Maximize", Type=System.Windows.Controls.Button)]
[System.Windows.TemplatePart(Name="Minimize", Type=System.Windows.Controls.Button)]
[System.Windows.TemplateVisualState(Name="Active", GroupName="ActiveStates")]
[System.Windows.TemplateVisualState(Name="Inactive", GroupName="ActiveStates")]
[System.Windows.TemplateVisualState(Name="Open", GroupName="OpenStates")]
[System.Windows.TemplateVisualState(Name="Floating", GroupName="WindowStateStates")]
[System.Windows.TemplateVisualState(Name="Maximized", GroupName="WindowStateStates")]
[System.Windows.TemplateVisualState(Name="Minimized", GroupName="WindowStateStates")]
[System.Windows.TemplateVisualState(Name="Dragged", GroupName="DragStates")]
[System.Windows.TemplateVisualState(Name="Still", GroupName="DragStates")]
[System.Windows.TemplatePart(Name="Drag", Type=System.Windows.FrameworkElement)]
[System.Windows.TemplatePart(Name="Root", Type=System.Windows.FrameworkElement)]
public class C1Window : C1HeaderedContentControl