VsUIDialogWindow Class
Microsoft internal use only. Use this class as the base class for Visual Studio dialogs used with IVsUIDataSource objects.
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.VsUIDialogWindow
| Name | Description | |
|---|---|---|
![]() | VsUIDialogWindow() | Initializes a new instance of VsUIDialogWindow. |
| 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.) |
When you implement a dialog derived from this class, you should define a IVsUIFactory and expose the dialog as an IVsUIElement created by the factory. If you want to display the dialog, you should create a data source for the dialog (IVsUIDataSource), possibly by using a data source factory. Use the AddHelpTopic method to add a help topic to the data source. Then call Overload:Microsoft.Internal.VisualStudio.PlatformUI.WindowHelper.ShowModalElement and provide the element ID and the data source.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






