다음을 통해 공유


DialogWindow Class

Dialog class to be used as base class for Visual Studio WPF dialogs (non-Gel) Someone implementing a WPF dialog should derive from this class (to have consistent styling with other VS dialogs, and help support) To display the dialog invoke the ShowModal() function, and that will take care of correctly parenting the dialog in the shell, enabling modal state for the shell while the dialog is displayed, etc.

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

Syntax

‘선언
Public Class DialogWindow _
    Inherits DialogWindowBase
‘사용 방법
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