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