ComponentOne Basic Library for WPF and Silverlight
C1Window Class
Members 


C1.WPF Namespace : C1Window Class
Shows content in a window.
Object Model
C1Window Class
Syntax
'Declaration
 
<System.ComponentModel.LicenseProviderAttribute()>
<System.Windows.TemplatePartAttribute(Name="Drag", Type=System.Windows.FrameworkElement)>
<System.Windows.TemplatePartAttribute(Name="Root", Type=System.Windows.FrameworkElement)>
<System.Windows.TemplatePartAttribute(Name="Close", Type=System.Windows.Controls.Button)>
<System.Windows.TemplatePartAttribute(Name="Resize", Type=System.Windows.Controls.Border)>
<System.Windows.TemplatePartAttribute(Name="Content", Type=System.Windows.FrameworkElement)>
<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="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.TemplateVisualStateAttribute(Name="Open", GroupName="OpenStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Closed", GroupName="OpenStates")>
Public Class C1Window 
   Inherits C1HeaderedContentControl
'Usage
 
Dim instance As C1Window
[System.ComponentModel.LicenseProvider()]
[System.Windows.TemplatePart(Name="Drag", Type=System.Windows.FrameworkElement)]
[System.Windows.TemplatePart(Name="Root", Type=System.Windows.FrameworkElement)]
[System.Windows.TemplatePart(Name="Close", Type=System.Windows.Controls.Button)]
[System.Windows.TemplatePart(Name="Resize", Type=System.Windows.Controls.Border)]
[System.Windows.TemplatePart(Name="Content", Type=System.Windows.FrameworkElement)]
[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="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.TemplateVisualState(Name="Open", GroupName="OpenStates")]
[System.Windows.TemplateVisualState(Name="Closed", GroupName="OpenStates")]
public class C1Window : C1HeaderedContentControl 
Remarks
This control should not be added as the child of another control. It can either be opened as a System.Windows.Controls.Primitives.Popup by calling the Show method or displayed inside a Canvas by using the Canvas property.
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        C1.WPF.C1HeaderedContentControl
                           C1.WPF.C1Window

See Also

Reference

C1Window Members
C1.WPF Namespace