Back to Devexpress

DialogClosedEventArgs.DialogResult Property

wpf-devexpress-dot-xpf-dot-editors-dot-dialogclosedeventargs.md

latest1.4 KB
Original Source

DialogClosedEventArgs.DialogResult Property

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

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool? DialogResult { get; }
vb
Public ReadOnly Property DialogResult As Boolean?

Property Value

TypeDescription
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

DialogClosedEventArgs Class

DialogClosedEventArgs Members

DevExpress.Xpf.Editors Namespace