Skip to main content
All docs
V24.2

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

DialogClosedEventArgs.DialogResult Property

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

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.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