WindowHelper.ShowModal Method (Window)
Displays a WPF window as modal dialog in Visual Studio shell
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Shared Function ShowModal ( _
window As Window _
) As Integer
'Utilisation
Dim window As Window
Dim returnValue As Integer
returnValue = WindowHelper.ShowModal(window)
public static int ShowModal(
Window window
)
public:
static int ShowModal(
Window^ window
)
static member ShowModal :
window:Window -> int
public static function ShowModal(
window : Window
) : int
Parameters
- window
Type: System.Windows.Window
The WPF Window to be shown as dialog.
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.