Table of Contents

Method ShowModal

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

ShowModal()

Opens a window and returns only when the newly opened window is closed. User interaction with all other windows in the application is disabled until the modal window is closed.

public virtual ModalResult ShowModal()

Returns

ModalResult

The return value is the value of the ModalResult property before window closes.

ShowModal(Window?)

Opens a window and returns only when the newly opened window is closed. User interaction with all other windows in the application is disabled until the modal window is closed.

public virtual ModalResult ShowModal(Window? owner)

Parameters

owner Window

A window that will own this window.

Returns

ModalResult

The return value is the value of the ModalResult property before window closes.