Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WpfDialogAssistant Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This class styles a WPF window according to the Visual Studio standards.

Create this class in the constructor of the class and keep a reference to it until after the window is closed.

System.Object
  Microsoft.TeamFoundation.Controls.WPF.WpfDialogAssistant

Namespace:  Microsoft.TeamFoundation.Controls.WPF
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

public class WpfDialogAssistant

The WpfDialogAssistant type exposes the following members.

  NameDescription
Public methodWpfDialogAssistant(Window)
Public methodWpfDialogAssistant(Window, Boolean)styles a WPF window according to the Visual Studio standards. remembers its size and position
Public methodWpfDialogAssistant(Window, Boolean, Boolean)styles a WPF window according to the Visual Studio standards. remembers its size and position
Top

  NameDescription
Public propertyDisableCloseButtonThis property controls whether this window has a close button.
Public propertyDisableContextHelp
Protected propertyHandle
Protected propertyHandleSource
Public propertyHelpTopicOwning classes must set this to their help topic string.
Public propertySaveRestorePositionThis property controls whether dialog size and position will automatically be saved and restored during OnLoad and OnFormClosing.
Public propertyShowHelpButtonThis property controls whether this window appears in the taskbar.
Public propertyShowInTaskbarThis property controls whether this window appears in the taskbar.
Public propertyUseModalDialogStylingThis property controls whether this window is styled as a modal dialog box. When true, the dialog box will not have maximize, minimize, and help buttons.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetWaitCursorCall this method to change the window cursor to a wait cursor. Disposing the WaitCursor object returned will restore the previous cursor.
Protected methodInitializeWindowStyle
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetOwner(IntPtr)Call this method to set the owner of the Window from a window handle. For a modal dialog this property must be set.
Public methodSetOwner(Form)Call this method to set the owner of the Window from a Windows Forms form. For a modal dialog this property must be set.
Public methodSetOwner(IWin32Window)Call this method to set the owner of the Window from an IWin32Window. For a modal dialog this property must be set.
Public methodSetOwner(Window)Call this method to set the owner of the window. For a modal dialog this property must be set.
Public methodStatic memberShowDialog
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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