Method ShowModal
ShowModal()
Runs a common dialog window with a default owner.
public ModalResult ShowModal()
Returns
- ModalResult
Accepted if the user clicks OK in the dialog window; otherwise, Canceled.
ShowModal(Window?)
Runs a common dialog window with the specified owner.
public virtual ModalResult ShowModal(Window? owner)
Parameters
owner
WindowA window that will own the modal dialog.
Returns
- ModalResult
Accepted if the user clicks OK in the dialog window; otherwise, Canceled.