Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraMessageBoxArgs.Closed Event

In This Article

Occurs when an XtraMessageBox closes.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

#Event Data

The Closed event's data class is XtraMessageBoxClosedArgs. 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
SaveToRegistry() Saves Visible and DialogResult property values to the registry.
See Also