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


In This Topic
    MessageBox Class
    In This Topic
    Represents a message box that has a message and that returns a result.
    Syntax
    'Declaration
     
    <TemplateVisualStateAttribute(Name="OK", GroupName="MessageBoxButtonsGroup")>
    <TemplatePartAttribute(Name="PART_CancelButton", Type=System.Windows.Controls.Button)>
    <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 MessageBox 
       Inherits Xceed.Wpf.Toolkit.Primitives.WindowControl
    'Usage
     
    Dim instance As MessageBox
    [TemplateVisualState(Name="OK", GroupName="MessageBoxButtonsGroup")]
    [TemplatePart(Name="PART_CancelButton", Type=System.Windows.Controls.Button)]
    [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 MessageBox : Xceed.Wpf.Toolkit.Primitives.WindowControl 
    Remarks

    Starting with version 2.0, MessageBox (and ChildWindow) is derived from WindowControl and no longer manages its parent’s background or the positioning of itself based on its parent’s size.

    WindowContainer should now be used to contain these controls. 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 use a MessageBox and a ChildWindow.
    <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.MessageBox

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the MessageBox class.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Identifies the ButtonRegionBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CancelButtonContent dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CancelButtonStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ImageSource dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the NoButtonContent dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the NoButtonStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the OkButtonContent dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the OkButtonStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Text dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the YesButtonContent dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the YesButtonStyle 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 PropertyGets or sets the background of the region behind the message box buttons.  
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets the content of the Cancel button.  
    Public PropertyGets or sets the style of the Cancel button.  
    Public PropertyGets or sets the caption of the message box. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the font size of the WindowControl caption. Default is 15. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the font color of the caption. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the caption icon. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the brush of the caption's shadow. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets the style of the close button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the visibility of the Close button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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 PropertyGets or sets the ImageSource.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets whether the control is active. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the Maximize button's style. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets the MessageBox result, which is set when the Closed event is raised.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the Minimize button's style. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the content of the No button.  
    Public PropertyGets or sets the style of the No button.  
    Public PropertyGets or sets the content of the OK button.  
    Public PropertyGets or sets the OK button's style.  
    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. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the Restore button's style. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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 text of the message box.  
    Public PropertyGets or sets the horizontal alignment for the tile of WindowControlMessageBox and StyleableWindow's controls. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the top side of the control. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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 background color of the MessageBox window. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the color of the outer border of the MessageBox. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the window's border thickness. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the window's inactive background. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the opacity of the MessageBox, but does not effect the close button or the message text area. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the window's style. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the window's thickness. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public PropertyGets or sets the content of the Yes button.  
    Public PropertyGets or sets the Yes button's style.  
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets or sets the container which contains the MessageBox.  
    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. Builds the visual tree for the element..  
    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 Methodstatic (Shared in Visual Basic)Overloaded. Displays a message box.  
    Public MethodDisplays the MessageBox window and returns only when this MessageBox closes.  
    Public MethodOverloaded. Displays this message box when embedded in a WindowContainer parent.  
    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 MethodChanges the control's visual states.  
    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 MethodInitializes the MessageBox.  
    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 CloseButtonClicked event is raised.  
    Protected MethodCalled when the MessageBox is closed.  
    Protected MethodOverridden. Called when the CloseButtonVisibility value is being re-evaluated, or coercion is specifically requested  
    Protected MethodOverridden. Called when the CloseButtonVisibility value is being re-evaluated, or coercion is specifically requested  
    Protected MethodOverridden. Called when the CloseButtonVisibility 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 MethodOverridden.   
    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 MethodCalled when the HeaderDragDelta event is raised.  
    Protected MethodCalled when the HeaderIconDoubleClicked event is raised.  
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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 MethodOverridden.   
    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 (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public EventRaised when the Close button is clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public EventRaised when the message box is closed.  
    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. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public EventRaised when the header icon is clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public EventRaised when the header icon is double-clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public EventRaised when the header is clicked using the left mouse button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public EventRaised when the header is double-clicked using the left mouse button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public EventRaised when the header is clicked using the right mouse button. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    Public EventRaised when the Minimize button is clicked. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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. (Inherited from Xceed.Wpf.Toolkit.Primitives.WindowControl)
    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