private void PrintPersonDetail() { FlowDocument personDetailsDocument = new PersonDetail(SelectedPersons); _messageDialogService.OpenPrintDialog(personDetailsDocument, "Person Details"); }