Skip to main content
A newer version of this page is available. .

XtraOpenFileDialog Class

Allows a user to open a file. This is a replacement for the standard OpenFileDialog that supports DevExpress Skins.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraDialogs.v21.2.dll

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

Declaration

public sealed class XtraOpenFileDialog :
    FileDialogBase,
    IOpenFileDialog,
    IFileDialog,
    ICommonDialog,
    IDisposable

Remarks

Use the ShowDialog() method to display a modal dialog box. The skin of the dialog box matches the skin of the form that invoked that dialog (the owning form). You can also use the ShowDialog(IWin32Window) method overload that allows you to explicitly specify the owning form.

XtraDialogs - Open

See the following topic on docs.microsoft.com for more information: OpenFileDialog.

Inheritance

Object
MarshalByRefObject
Component
CommonDialog
DevExpress.XtraEditors.Base.XtraCommonDialog
FileDialogBase
XtraOpenFileDialog
See Also