Back to Devexpress

FileDialogBase.FileOk Event

windowsforms-devexpress-dot-xtraeditors-dot-filedialogbase-6a12627c.md

latest1.5 KB
Original Source

FileDialogBase.FileOk Event

Fires when a user presses “Save” or “Open” (depending on the current dialog type).

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraDialogs.v25.2.dll

NuGet Packages : DevExpress.Win.Dialogs, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event CancelEventHandler FileOk
vb
<DXCategory("Events")>
Public Event FileOk As CancelEventHandler

Event Data

The FileOk event's data class is CancelEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled.

See Also

FileDialogBase Class

FileDialogBase Members

DevExpress.XtraEditors Namespace