Skip to main content

DXDialog

 

DXDialog represents a dialog popup window with command buttons. The DXDialog is inherited from the DXWindow class, so all the features described in DXWindow are completely applicable to it.

AgDialog

Use the DXDialog.Buttons property to specify the command buttons that should be displayed within a dialog.

After DXDialog has been closed, it returns the dialog result, which depends on the action an end-user performed. The result can be obtained via the DXDialog.DialogResult property. You can also specify the default dialog result, which is returned when an end-user presses the ENTER key. To do this, use the DXDialog.DefaultDialogResult property.