Back to Devexpress

XtraMessageBoxArgs.Load Event

windowsforms-devexpress-dot-xtraeditors-dot-xtramessageboxargs-f6795f32.md

latest3.4 KB
Original Source

XtraMessageBoxArgs.Load Event

Occurs before an XtraMessageBox is created.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event EventHandler<XtraMessageBoxLoadArgs> Load
vb
Public Event Load As EventHandler(Of XtraMessageBoxLoadArgs)

Event Data

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

PropertyDescription
DialogResultGets or sets the DialogResult value that corresponds to the button the user chose in an XtraMessageBox. Inherited from XtraMessageBoxEventArgs.
MessageBoxArgsGets the current XtraMessageBox‘s settings through its XtraMessageBoxArgs object. Inherited from XtraMessageBoxEventArgs.
VisibleGets 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:

MethodDescription
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

XtraMessageBoxArgs Class

XtraMessageBoxArgs Members

DevExpress.XtraEditors Namespace