Udostępnij za pośrednictwem


DialogWindowBase Class

Definition

Base class for WPF dialogs in Visual Studio 10 and later. The class provides consistent styling and caption buttons with other dialogs in VisualStudio.

public ref class DialogWindowBase abstract : System::Windows::Window
public abstract class DialogWindowBase : System.Windows.Window
type DialogWindowBase = class
    inherit Window
Public MustInherit Class DialogWindowBase
Inherits Window
Inheritance
DialogWindowBase
Derived

Remarks

This class provides styling and caption buttons that are consistent with other dialogs in Visual Studio.

Constructors

DialogWindowBase()

Initializes a new instance of DialogWindowBase.

Fields

HasDialogFrameProperty

Determines whether the window has a dialog frame property.

HasHelpButtonProperty

The property that determines whether this window has a help button.

HasMaximizeButtonProperty

Determines whether the window has a maximize button property.

HasMinimizeButtonProperty

Determines whether the window has a minimize button property.

IsCloseButtonEnabledProperty

Determines whether the close title bar button should be enabled.

Properties

HasDialogFrame

Determines whether the window has a frame.

HasHelpButton

Determines whether the window has a help button.

HasMaximizeButton

Determines whether the window has a maximize button.

HasMinimizeButton

Determines whether the window has a minimize button.

IsCloseButtonEnabled

Gets or sets a value indicating whether the close title bar button should be enabled.

Methods

InvokeDialogHelp()

Invokes Help for the dialog window.

OnClosed(EventArgs)

Handles the disposing of resources when the window closes.

OnDialogThemeChanged()

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

OnSourceInitialized(EventArgs)

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

Applies to