Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Primitives Namespace / WindowControl Class
Members Example


In This Topic
    WindowControl Class
    In This Topic
    Base class of the ChildWindow and MessageBox classes.
    Syntax
    'Declaration
     
    <TemplatePartAttribute(Name="PART_HeaderThumb", Type=System.Windows.Controls.Primitives.Thumb)>
    <DefaultPropertyAttribute("Content")>
    <ContentPropertyAttribute("Content")>
    <LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
    <StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class WindowControl 
       Inherits System.Windows.Controls.ContentControl
    'Usage
     
    Dim instance As WindowControl
    [TemplatePart(Name="PART_HeaderThumb", Type=System.Windows.Controls.Primitives.Thumb)]
    [DefaultProperty("Content")]
    [ContentProperty("Content")]
    [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
    [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class WindowControl : System.Windows.Controls.ContentControl 
    Remarks

    Starting with version 2.0, ChildWindow and MessageBox are derived from WindowControl and no longer manage their parent’s background or the positioning themselves based on their parent’s size.

    WindowContainer should be used instead. It provides an area where WindowControl-derived controls (ChildWindow or MessageBox controls) can be displayed. This is particularly interesting in an XBAP application where windows can't be popped up. In this case the WindowContainer can be sized to fit the application and the window-like control can be moved around in the WindowContainer.

    The WindowContainer derives from Canvas and positions its children according to its size. Many actions performed on its children are managed by the WindowContainer (movement and positioning, resizing, visibility, modal, and mouse click). This will restrict the WindowControl movements and resizing to the WindowContainer’s size.

    When no Width and Height are specified in the WindowContainer, its DesiredSize will be the size of its biggest child.

    Example
    The following example shows how to create a ChildWindow and a MessageBox within a WindowContainer.
    <xctk:WindowContainer>
      <xctk:ChildWindow WindowBackground="Blue"
                        Left="75"
                        Top="50"
                        Width="275"
                        Height="125"
                        WindowState="Open">
        <TextBlock Text="This is a Child Window" Padding="10"/>
      </xctk:ChildWindow>
    
      <xctk:ChildWindow WindowBackground="Green"
                        Left="175"
                        Top="125"
                        Width="275"
                        Height="125"
                        WindowState="Open">
        <TextBlock Text="This is another Child Window" Padding="10"/>
      </xctk:ChildWindow>
    
      <xctk:MessageBox Caption="MessageBox"
                       Text="This is a MessageBox"/>
    </xctk:WindowContainer>
    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
                            Xceed.Wpf.Toolkit.Primitives.WindowControl
                               Xceed.Wpf.Toolkit.ChildWindow
                               Xceed.Wpf.Toolkit.MessageBox

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the WindowControl class.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CaptionForeground property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CaptionIcon property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Caption property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CloseButtonClicked event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CloseButtonStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CloseButtonVisibility dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DefaultCloseButtonStyle resource key.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DefaultMaximizeButtonStyle resource key.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DefaultMinimizeButtonStyle resource key.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DefaultRestoreButtonStyle resource key.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HeaderDragDelta routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HeaderIconClicked routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HeaderIconDoubleClicked routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HeaderMouseLeftButtonClicked routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HeaderMouseLeftButtonDoubleClicked routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HeaderMouseRightButtonClicked routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsActive dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsMaximized dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Left dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MaximizeButtonClicked routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MaximizeButtonStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MinimizeButtonClicked routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MinimizeButtonStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ResizeMode dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the RestoreButtonStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Top dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the WindowBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the WindowBorderBrush dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the WindowBorderThickness dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the WindowInactiveBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the WindowOpacity dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the WindowResizeThumbDrag routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the WindowStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the WindowThickness dependency property.  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets the control's caption.  
    Public PropertyGets or sets the font size of the WindowControl caption. Default is 15.  
    Public PropertyGets or sets the caption foreground.  
    Public PropertyGets or sets the caption icon.  
    Public PropertyGets or sets the brush of the caption's shadow.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets the Close button's style.  
    Public PropertyGets or sets the visibility of the Close button.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets whether the control is active.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets whether the control is maximized.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the left side of the control.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the Maximize button's style.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the Minimize button's style.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets the resize mode.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the Restore button's style.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the horizontal alignment for the tile of WindowControlMessageBox and StyleableWindow's controls.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the top side of the control.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the window's background.  
    Public PropertyGets or sets the window's border brush.  
    Public PropertyGets or sets the window's border thickness.  
    Public PropertyGets or sets the window's inactive background.  
    Public PropertyGets or sets the window's opacity.  
    Public PropertyGets or sets the window's style.  
    Public PropertyGets or sets the window's thickness.  
    Top
    Protected Properties
     NameDescription
    Protected Internal Property (Inherited from System.Windows.FrameworkElement)
    Protected Internal Property (Inherited from System.Windows.Controls.Control)
    Protected Internal Property (Inherited from System.Windows.UIElement)
    Protected Internal Property (Inherited from System.Windows.FrameworkElement)
    Protected Property (Inherited from System.Windows.UIElement)
    Protected Internal Property (Inherited from System.Windows.Controls.ContentControl)
    Protected Property (Inherited from System.Windows.UIElement)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.FrameworkElement)
    Protected Internal Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Internal Property (Inherited from System.Windows.Media.Visual)
    Protected Internal Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodOverridden. Called when the template is applied.  
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.Controls.Control)
    Public MethodOverloaded.  (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodCalled when the CloseButtonVisibility value is being re-evaluated, or coercion is specifically requested.  
    Protected MethodCalled when the ResizeMode value is being re-evaluated, or coercion is specifically requested  
    Protected MethodCalled when the WindowStyle value is being re-evaluated, or coercion is specifically requested  
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodCalled when the Left property changes.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodCalled when the Top property changes  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Internal Method (Inherited from System.Windows.Media.Visual)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodCalled when the WindowStyle property changes.  
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Internal Method (Inherited from System.Windows.DependencyObject)
    Top
    Public Events
     NameDescription
    Public EventRaised when the property IsActive becomes True.  
    Public EventRaised when the Close button is clicked.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventOccurs as the mouse changes position when a header has logical focus and mouse capture.  
    Public EventRaised when the header icon is clicked.  
    Public EventRaised when the header icon is double-clicked.  
    Public EventRaised when the header is clicked using the left mouse button.  
    Public EventRaised when the header is double-clicked using the left mouse button.  
    Public EventRaised when the header is clicked using the right mouse button.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventRaised when the Maximize button is clicked.  
    Public EventRaised when the Minimize button is clicked.  
    Public Event (Inherited from System.Windows.Controls.Control)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.Controls.Control)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public EventRaised when the window resize thumb is dragged.  
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also