All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XtraMessageBoxArgs.Load Event

Occurs before an XtraMessageBox is created.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.1.dll

Declaration

public event EventHandler<XtraMessageBoxLoadArgs> Load

Event Data

The Load event's data class is XtraMessageBoxLoadArgs. The following properties provide information specific to this event:

Property Description
DialogResult Gets or sets the DialogResult value that corresponds to the button the user chose in an XtraMessageBox. Inherited from XtraMessageBoxEventArgs.
MessageBoxArgs Gets the current XtraMessageBox‘s settings through its XtraMessageBoxArgs object. Inherited from XtraMessageBoxEventArgs.
Visible Gets or sets whether the user checked the Do not show this message again checkbox and whether to show the XtraMessageBox again. Inherited from XtraMessageBoxEventArgs.

The event data class exposes the following methods:

Method Description
RestoreFromRegistry() Restores the Visible and DialogResult property values from the registry if these values are available.
ShowMessage(Boolean) Forcibly shows an XtraMessageBox an end user suppressed. Use this method when an end user checked the “Do not show this message again” checkbox and closed the message.
See Also