Skip to main content
All docs
V23.2

DialogClosedEventArgs.DialogResult Property

Gets whether a file/folder was selected in the dialog.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool? DialogResult { get; }

Property Value

Type Description
Nullable<Boolean>

true if a file/folder was selected; otherwise false.

Remarks

The DialogResult property returns true if a user clicks the OK button in a dialog (Open and Save buttons for the open and save file dialogs). If a user clicks the Cancel button or closes the dialog window, the DialogResult property returns false.

See Also