WindowHelper Class
Provides static helper methods for windows.
Inheritance Hierarchy
System.Object
Microsoft.Internal.VisualStudio.PlatformUI.WindowHelper
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
‘선언
Public NotInheritable Class WindowHelper
public static class WindowHelper
The WindowHelper type exposes the following members.
Methods
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(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. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.