Share via


WindowHelper.ShowModal Method (Window, IntPtr)

Displays a WPF window using a Win32 parent window.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared Function ShowModal ( _
    window As Window, _
    parent As IntPtr _
) As Integer
public static int ShowModal(
    Window window,
    IntPtr parent
)
public:
static int ShowModal(
    Window^ window, 
    IntPtr parent
)
static member ShowModal : 
        window:Window * 
        parent:IntPtr -> int
public static function ShowModal(
    window : Window, 
    parent : IntPtr
) : int

Parameters

Return Value

Type: System.Int32
The dialog result.

.NET Framework Security

See Also

Reference

WindowHelper Class

ShowModal Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace