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.

System.Object
  Microsoft.Internal.VisualStudio.PlatformUI.WindowHelper

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)

public static class WindowHelper

The WindowHelper type exposes the following members.

  NameDescription
Public methodStatic memberAddHelpTopicAdds a help topic to a data source used by a dialog that uses the constants HelpTopic property and Help verb.
Public methodStatic memberCreateChildElement(IVsUIElement, IntPtr)Creates and displays the specified element as a modeless child window.
Public methodStatic memberCreateChildElement(IVsUIElement, FrameworkElement, FrameworkElement)Creates and sets the specified element as a child of the specified parent.
Public methodStatic memberCreateChildElement(Guid, UInt32, IVsUISimpleDataSource, IntPtr)Creates and displays a UI element as a modeless child window.
Public methodStatic memberCreateChildElement(Guid, UInt32, IVsUISimpleDataSource, FrameworkElement, FrameworkElement)Creates and sets the element as a child of the specified parent.
Public methodStatic memberCreateUIElement(Type)
Public methodStatic memberCreateUIElement(FactoryElementID)
Public methodStatic memberCreateUIElement(Guid, UInt32)Creates a UI element.
Public methodStatic memberCreateWpfLoaderCreates a WPF loader to create IVsUIElement objects that wrap the UI objects specified by their types.
Public methodStatic memberGetDialogOwnerHandleGets the window handle that can be used to parent modal dialogs.
Public methodStatic memberGetFrameworkElementFromUIElementCreates a FrameworkElement from the specified UI element.
Public methodStatic memberGetHwndFromUIElementGets a window handle from the specified UI element.
Public methodStatic memberShowModal(Window)Displays a WPF window as a modal dialog in Visual Studio.
Public methodStatic memberShowModal(Window, IntPtr)Displays a WPF window using a Win32 parent window.
Public methodStatic memberShowModalElement(IVsUIElement)Creates the specified element and displays it as a modal dialog, using the main window of the IDE as the parent.
Public methodStatic memberShowModalElement(IVsUIElement, IntPtr)Displays the UI element as a modal dialog, using the specified Win32 window as the parent.
Public methodStatic memberShowModalElement(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.
Public methodStatic memberShowModalElement(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

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: