共用方式為


WindowHelper.ShowModalElement Method

Include Protected Members
Include Inherited Members

Creates the specified element and displays it as a modal dialog.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member ShowModalElement(IVsUIElement) Creates the specified element and displays it as a modal dialog, using the main window of the IDE as the parent.
Public methodStatic member ShowModalElement(IVsUIElement, IntPtr) Displays the UI element as a modal dialog, using the specified Win32 window as the parent.
Public methodStatic member 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.
Public methodStatic member 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

See Also

Reference

WindowHelper Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace