WindowHelper Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides static helper methods for windows.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assemblies: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
The WindowHelper type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | AddHelpTopic | Adds a help topic to a data source used by a dialog that uses the constants HelpTopic property and Help verb. |
![]() ![]() | CreateChildElement(IVsUIElement, IntPtr) | Creates and displays the specified element as a modeless child window. |
![]() ![]() | CreateChildElement(IVsUIElement, FrameworkElement, FrameworkElement) | Creates and sets the specified element as a child of the specified parent. |
![]() ![]() | CreateChildElement(Guid, UInt32, IVsUISimpleDataSource, IntPtr) | Creates and displays a UI element as a modeless child window. |
![]() ![]() | CreateChildElement(Guid, UInt32, IVsUISimpleDataSource, FrameworkElement, FrameworkElement) | Creates and sets the element as a child of the specified parent. |
![]() ![]() | CreateUIElement(Type) | |
![]() ![]() | CreateUIElement(FactoryElementID) | |
![]() ![]() | CreateUIElement(Guid, UInt32) | Creates a UI element. |
![]() ![]() | CreateWpfLoader | Creates a WPF loader to create IVsUIElement objects that wrap the UI objects specified by their types. |
![]() ![]() | GetDialogOwnerHandle | Gets the window handle that can be used to parent modal dialogs. |
![]() ![]() | GetFrameworkElementFromUIElement | Creates a FrameworkElement from the specified UI element. |
![]() ![]() | GetHwndFromUIElement | Gets a window handle from the specified UI element. |
![]() ![]() | ShowModal(Window) | Displays a WPF window as a modal dialog in Visual Studio. |
![]() ![]() | ShowModal(Window, IntPtr) | Displays a WPF window using a Win32 parent window. |
![]() ![]() | ShowModalElement(IVsUIElement) | Creates the specified element and displays it as a modal dialog, using the main window of the IDE as the parent. |
![]() ![]() | ShowModalElement(IVsUIElement, IntPtr) | Displays the UI element as a modal dialog, using the specified Win32 window as the parent. |
![]() ![]() | ShowModalElement(IVsUIElement, Window) | Creates the specified element and displays it as a modal dialog, using the specified window or the main window of the IDE as the parent. |
![]() ![]() | ShowModalElement(Guid, UInt32, IVsUISimpleDataSource) | Create the specified element and display it as a modal dialog, using the main window of the IDE as the parent. |
Show:
