public static Boolean? GetDialogResult(ChildWindow childWindow) { return childWindow.GetValue(DialogResultProperty) as Boolean?; }