'Declaration <ExtensionAttribute()> Public Overloads Shared Function ShowDialog( _ ByVal window As Window, _ ByVal content As Object, _ ByVal openedEventHandler As DialogOpenedEventHandler _ ) As Task(Of Object)
'Usage Dim window As Window Dim content As Object Dim openedEventHandler As DialogOpenedEventHandler Dim value As Task(Of Object) value = DialogHostEx.ShowDialog(window, content, openedEventHandler)
[Extension()] public static Task<object> ShowDialog( Window window, object content, DialogOpenedEventHandler openedEventHandler )
Parameters
- window
- content
- openedEventHandler