[]
[TemplatePart(Name = "ContentBorder", Type = typeof(Border))]
[TemplatePart(Name = "CommonHeaderContainer", Type = typeof(Border))]
[TemplatePart(Name = "HiddenButton", Type = typeof(Button))]
[TemplatePart(Name = "RectTopLeft", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "RectTopMiddle", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "RectTopRight", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "RectMiddleLeft", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "RectMiddleRight", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "RectBottomLeft", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "RectBottomMiddle", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "RectBottomRight", Type = typeof(FrameworkElement))]
public class WPFWindow : Window, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
<TemplatePart(Name:="ContentBorder", Type:=GetType(Border))>
<TemplatePart(Name:="CommonHeaderContainer", Type:=GetType(Border))>
<TemplatePart(Name:="HiddenButton", Type:=GetType(Button))>
<TemplatePart(Name:="RectTopLeft", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="RectTopMiddle", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="RectTopRight", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="RectMiddleLeft", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="RectMiddleRight", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="RectBottomLeft", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="RectBottomMiddle", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="RectBottomRight", Type:=GetType(FrameworkElement))>
Public Class WPFWindow
Inherits Window
Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
| Name | Description |
|---|---|
| WPFWindow() | Initializes a new instance of a WPFWindow. |
| Name | Description |
|---|---|
| ShowHeaderProperty | Identifies the ShowHeader dependency property. |
| Name | Description |
|---|---|
| ShowHeader | Gets or sets a value that determines whether the common header is visible. |
| Name | Description |
|---|---|
| OnApplyTemplate() | Builds the visual tree for the WPFWindow control when a new template is applied. |