DialogWindow DialogWindow DialogWindow DialogWindow Class

Definition

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.

public ref class DialogWindow : Microsoft::VisualStudio::PlatformUI::DialogWindowBase
public class DialogWindow : Microsoft.VisualStudio.PlatformUI.DialogWindowBase
type DialogWindow = class
    inherit DialogWindowBase
Public Class DialogWindow
Inherits DialogWindowBase
Inheritance
Derived

Constructors

DialogWindow() DialogWindow() DialogWindow() DialogWindow()

Initializes a DialogWindow without a Help button.

DialogWindow(String) DialogWindow(String) DialogWindow(String) DialogWindow(String)

Initializes a T:Microsoft.VisualStudio.PlatformUI.DialogWindow that has a Help topic and a button.

Methods

InvokeDialogHelp() InvokeDialogHelp() InvokeDialogHelp() InvokeDialogHelp()

Invokes the Help for the dialog window.

OnClosed(EventArgs) OnClosed(EventArgs) OnClosed(EventArgs) OnClosed(EventArgs)

Handles the disposing of resources when the window closes.

(Inherited from DialogWindowBase)
OnDialogThemeChanged() OnDialogThemeChanged() OnDialogThemeChanged() OnDialogThemeChanged()

When overridden in a derived class, handles the event raised when the dialog window theme has changed.

(Inherited from DialogWindowBase)
OnSourceInitialized(EventArgs) OnSourceInitialized(EventArgs) OnSourceInitialized(EventArgs) OnSourceInitialized(EventArgs)

Handles the event raised when the window source has been initialized.

(Inherited from DialogWindowBase)
ShowModal() ShowModal() ShowModal() ShowModal()

Gets the parent or owner of the dialog from the Visual Studio shell and displays the dialog window. It also puts the shell in a modal state while the dialog is displayed, and centers the dialog window correctly in the parent window.

Properties

HasDialogFrame HasDialogFrame HasDialogFrame HasDialogFrame

Determines whether the window has a frame.

(Inherited from DialogWindowBase)
HasHelpButton HasHelpButton HasHelpButton HasHelpButton

Determines whether the window has a help button.

(Inherited from DialogWindowBase)
HasMaximizeButton HasMaximizeButton HasMaximizeButton HasMaximizeButton

Determines whether the window has a maximize button.

(Inherited from DialogWindowBase)
HasMinimizeButton HasMinimizeButton HasMinimizeButton HasMinimizeButton

Determines whether the window has a minimize button.

(Inherited from DialogWindowBase)
IsCloseButtonEnabled IsCloseButtonEnabled IsCloseButtonEnabled IsCloseButtonEnabled

Determines whether the close title bar button should be enabled.

(Inherited from DialogWindowBase)

Extension Methods

GetDeviceHeight(Window) GetDeviceHeight(Window) GetDeviceHeight(Window) GetDeviceHeight(Window)

Microsoft internal use only.

GetDeviceLeft(Window) GetDeviceLeft(Window) GetDeviceLeft(Window) GetDeviceLeft(Window)

Microsoft internal use only.

GetDeviceRect(Window) GetDeviceRect(Window) GetDeviceRect(Window) GetDeviceRect(Window)

Microsoft internal use only.

GetDeviceTop(Window) GetDeviceTop(Window) GetDeviceTop(Window) GetDeviceTop(Window)

Microsoft internal use only.

GetDeviceWidth(Window) GetDeviceWidth(Window) GetDeviceWidth(Window) GetDeviceWidth(Window)

Microsoft internal use only.

SetDeviceHeight(Window, Double) SetDeviceHeight(Window, Double) SetDeviceHeight(Window, Double) SetDeviceHeight(Window, Double)

Microsoft internal use only.

SetDeviceLeft(Window, Double) SetDeviceLeft(Window, Double) SetDeviceLeft(Window, Double) SetDeviceLeft(Window, Double)

Microsoft internal use only.

SetDeviceTop(Window, Double) SetDeviceTop(Window, Double) SetDeviceTop(Window, Double) SetDeviceTop(Window, Double)

Microsoft internal use only.

SetDeviceWidth(Window, Double) SetDeviceWidth(Window, Double) SetDeviceWidth(Window, Double) SetDeviceWidth(Window, Double)

Microsoft internal use only.

Applies to