Table of Contents

Method ShowAsMessageBox

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

ShowAsMessageBox(MessageBoxInfo)

Displays a message box with the specified information.

public virtual void ShowAsMessageBox(MessageBoxInfo value)

Parameters

value MessageBoxInfo

The MessageBoxInfo object containing the details to display in the message box, such as text, icon, caption, buttons, and default button.

Remarks

This method sets up the message box with the provided information and displays it asynchronously. The result of the user's interaction with the message box is stored in the Result property, and the OnClose callback is invoked upon closing.