Condividi tramite


DialogWindow Class

The base class for all Visual Studio WPF (non-Gel) dialogs. When you implement a WPF dialog, you should derive from this class in order to have consistent styling with other Visual Studio dialogs, as well as help support. To display the dialog, call the ShowModal method, which correctly parents the dialog in the shell, puts the shell in a modal state while the dialog is displayed, and other features.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Dichiarazione
Public Class DialogWindow _
    Inherits DialogWindowBase
'Utilizzo
Dim instance As DialogWindow
public class DialogWindow : DialogWindowBase
public ref class DialogWindow : public DialogWindowBase
type DialogWindow =  
    class
        inherit DialogWindowBase
    end
public class DialogWindow extends DialogWindowBase

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
                System.Windows.Window
                  Microsoft.VisualStudio.PlatformUI.DialogWindowBase
                    Microsoft.VisualStudio.PlatformUI.DialogWindow

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DialogWindow Members

Microsoft.VisualStudio.PlatformUI Namespace