Table of Contents

Method ShowModal

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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 Window

A window that will own the modal dialog.

Returns

ModalResult

Accepted if the user clicks OK in the dialog window; otherwise, Canceled.