Table of Contents

Class MessageBoxEventArgs

Namespace
Alternet.Common
Assembly
Alternet.Common.Winforms.v10.dll

Provides data for the MessageBoxHandler.MessageBoxShow handler.

public class MessageBoxEventArgs
Inheritance
MessageBoxEventArgs

Constructors

MessageBoxEventArgs(string, Window?, string?, MessageBoxButtons, MessageBoxIcon)
MessageBoxEventArgs(string, IWin32Window?, string?, MessageBoxButtons, MessageBoxIcon)

Initializes a new instance of the MessageBoxEventArgs class with specified parameters.

Properties

Buttons

Gets or sets one of the MessageBoxButtons values that specifies which buttons to display in the message box.

Caption

Gets or sets a text to display in the title bar of the message box.

DialogResult

Gets or sets a DialogResult of this message box dialog.

Handled

Gets or sets a value indicating whether the event was handled.

Icon

Gets or sets one of the MessageBoxIcon values that specifies which icon to display in the message box.

Message

Gets or sets a text to display in the message box.

Owner

Gets or sets an implementation of IWin32Window that will own the message box dialog.