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.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
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
Microsoft.VisualStudio.PlatformUI.MessageDialog
Microsoft.VisualStudio.PlatformUI.TextInputDialog
| Name | Description | |
|---|---|---|
![]() | DialogWindow() | Initializes a DialogWindow without a Help button. |
![]() | DialogWindow(String) | Initializes a T:Microsoft.VisualStudio.PlatformUI.DialogWindow that has a Help topic and a button. |
| Name | Description | |
|---|---|---|
![]() ![]() | IAddChild.AddChild(Object) | (Inherited from ContentControl.) |
![]() ![]() | IAddChild.AddText(String) | (Inherited from ContentControl.) |
![]() ![]() | IQueryAmbient.IsAmbientPropertyAvailable(String) | (Inherited from FrameworkElement.) |
| Name | Description | |
|---|---|---|
![]() | AcquireWin32Focus(IntPtr) | Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | FindAncestor<TAncestorType>() | Overloaded. Finds the first ancestor of a given type in the logical or visual tree.(Defined by ExtensionMethods.) |
![]() | FindAncestorOrSelf<TAncestorType>() | Overloaded. Finds the first ancestor of a given type in the logical or visual tree, or the object itself if it matches in type.(Defined by ExtensionMethods.) |
![]() | FindCommonAncestor(DependencyObject) | Overloaded. Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | FindDescendant(Predicate<DependencyObject>) | Overloaded. Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | FindDescendant<T>() | Overloaded. Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | FindDescendantReverse<T>() | Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | FindDescendants<T>() | Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | FindDescendantsReverse<T>() | Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | GetDeviceActualSize() | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | GetDeviceHeight() | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | GetDeviceLeft() | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | GetDeviceRect() | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | GetDeviceTop() | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | GetDeviceWidth() | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | GetVisualOrLogicalParent() | Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | IsClipped() | Determines whether the element's text is clipped by a parent ScrollViewer (the element can still be scrolled to view the clipped text)(Defined by ExtensionMethods.) |
![]() | IsConnectedToPresentationSource() | Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | IsLogicalAncestorOf(DependencyObject) | Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | IsTrimmed() | Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | SetDeviceHeight(Double) | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | SetDeviceLeft(Double) | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | SetDeviceTop(Double) | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | SetDeviceWidth(Double) | Microsoft internal use only.(Defined by DpiHelper.) |
![]() | TraverseVisualTree<T>(Action<T>) | Microsoft internal use only.(Defined by ExtensionMethods.) |
![]() | TraverseVisualTreeReverse<T>(Action<T>) | Microsoft internal use only.(Defined by ExtensionMethods.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)