Xceed DataGrid for WPF v7.2 Documentation
ShowDialog(Window,Object,DialogOpenedEventHandler,DialogClosingEventHandler) Method


Xceed.Wpf.DataGrid.ThemePack.6 Assembly > Xceed.Wpf.DataGrid.ThemePack.Controls Namespace > DialogHostEx Class > ShowDialog Method : ShowDialog(Window,Object,DialogOpenedEventHandler,DialogClosingEventHandler) Method
Syntax
'Declaration
 
<ExtensionAttribute()>

Public Overloads Shared Function ShowDialog( _

   ByVal window As Window, _

   ByVal content As Object, _

   ByVal openedEventHandler As DialogOpenedEventHandler, _

   ByVal closingEventHandler As DialogClosingEventHandler _

) As Task(Of Object)
'Usage
 
Dim window As Window

Dim content As Object

Dim openedEventHandler As DialogOpenedEventHandler

Dim closingEventHandler As DialogClosingEventHandler

Dim value As Task(Of Object)

 

value = DialogHostEx.ShowDialog(window, content, openedEventHandler, closingEventHandler)

Parameters

window
content
openedEventHandler
closingEventHandler
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DialogHostEx Class
DialogHostEx Members
Overload List