ComponentOne FinancialChart for WPF
C1Window Class
Members 



C1.WPF Namespace : C1Window Class
Shows content in a window.
Syntax
'Declaration
 
<LicenseProviderAttribute()>
<TemplatePartAttribute(Name="Drag", Type=System.Windows.FrameworkElement)>
<TemplatePartAttribute(Name="Root", Type=System.Windows.FrameworkElement)>
<TemplatePartAttribute(Name="Close", Type=System.Windows.Controls.Button)>
<TemplatePartAttribute(Name="Resize", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="Content", Type=System.Windows.FrameworkElement)>
<TemplatePartAttribute(Name="Maximize", Type=System.Windows.Controls.Button)>
<TemplatePartAttribute(Name="Minimize", Type=System.Windows.Controls.Button)>
<TemplateVisualStateAttribute(Name="Active", GroupName="ActiveStates")>
<TemplateVisualStateAttribute(Name="Inactive", GroupName="ActiveStates")>
<TemplateVisualStateAttribute(Name="Floating", GroupName="WindowStateStates")>
<TemplateVisualStateAttribute(Name="Maximized", GroupName="WindowStateStates")>
<TemplateVisualStateAttribute(Name="Minimized", GroupName="WindowStateStates")>
<TemplateVisualStateAttribute(Name="Dragged", GroupName="DragStates")>
<TemplateVisualStateAttribute(Name="Still", GroupName="DragStates")>
<TemplateVisualStateAttribute(Name="Open", GroupName="OpenStates")>
<TemplateVisualStateAttribute(Name="Closed", GroupName="OpenStates")>
Public Class C1Window 
   Inherits C1HeaderedContentControl
'Usage
 
Dim instance As C1Window
[LicenseProvider()]
[TemplatePart(Name="Drag", Type=System.Windows.FrameworkElement)]
[TemplatePart(Name="Root", Type=System.Windows.FrameworkElement)]
[TemplatePart(Name="Close", Type=System.Windows.Controls.Button)]
[TemplatePart(Name="Resize", Type=System.Windows.Controls.Border)]
[TemplatePart(Name="Content", Type=System.Windows.FrameworkElement)]
[TemplatePart(Name="Maximize", Type=System.Windows.Controls.Button)]
[TemplatePart(Name="Minimize", Type=System.Windows.Controls.Button)]
[TemplateVisualState(Name="Active", GroupName="ActiveStates")]
[TemplateVisualState(Name="Inactive", GroupName="ActiveStates")]
[TemplateVisualState(Name="Floating", GroupName="WindowStateStates")]
[TemplateVisualState(Name="Maximized", GroupName="WindowStateStates")]
[TemplateVisualState(Name="Minimized", GroupName="WindowStateStates")]
[TemplateVisualState(Name="Dragged", GroupName="DragStates")]
[TemplateVisualState(Name="Still", GroupName="DragStates")]
[TemplateVisualState(Name="Open", GroupName="OpenStates")]
[TemplateVisualState(Name="Closed", GroupName="OpenStates")]
public class C1Window : C1HeaderedContentControl 
[LicenseProvider()]
[TemplatePart(Name="Drag", Type=System.Windows.FrameworkElement)]
[TemplatePart(Name="Root", Type=System.Windows.FrameworkElement)]
[TemplatePart(Name="Close", Type=System.Windows.Controls.Button)]
[TemplatePart(Name="Resize", Type=System.Windows.Controls.Border)]
[TemplatePart(Name="Content", Type=System.Windows.FrameworkElement)]
[TemplatePart(Name="Maximize", Type=System.Windows.Controls.Button)]
[TemplatePart(Name="Minimize", Type=System.Windows.Controls.Button)]
[TemplateVisualState(Name="Active", GroupName="ActiveStates")]
[TemplateVisualState(Name="Inactive", GroupName="ActiveStates")]
[TemplateVisualState(Name="Floating", GroupName="WindowStateStates")]
[TemplateVisualState(Name="Maximized", GroupName="WindowStateStates")]
[TemplateVisualState(Name="Minimized", GroupName="WindowStateStates")]
[TemplateVisualState(Name="Dragged", GroupName="DragStates")]
[TemplateVisualState(Name="Still", GroupName="DragStates")]
[TemplateVisualState(Name="Open", GroupName="OpenStates")]
[TemplateVisualState(Name="Closed", GroupName="OpenStates")]
public ref class C1Window : public 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