DevExpress.Wpf.Dialogs
Target Platform/Framework: Desktop DevExpress Product Libraries Used: WPF UI components (https://www.devexpress.com/wpf) Available in the following DevExpress Subscription(s): Universal, DXperience, WPF
Install
| Product | Versions |
|---|---|
| .NET | |
| Other |
README
DevExpress WPF Dialogs
DevExpress.Wpf.Dialogs includes DevExpress alternatives to standard WPF dialogs with support for DevExpress themes. DXOpenFileDialog, DXSaveFileDialog, and DXFolderBrowserDialog expose the same API as their Microsoft.Win32 counterparts.
dotnet add package DevExpress.Wpf.Dialogs
Included Components
DXOpenFileDialog: Selects one or more files.Multiselectenables multiple selection.DXSaveFileDialog: Specifies a target file name and location.DXFolderBrowserDialog: Selects a folder.
Key Features
- Familiar API:
Filter,InitialDirectory,FileName, andShowDialogbehave as in standard WPF dialogs. - Multiple View Modes: Users switch between details, list, and icon presentations of the file list.
- File Filters: The
Filterproperty drives the file-type selector, as in the standard dialogs. - Multi-Selection:
Multiselectallows users to pick several files in the open dialog. - Navigation: A folder tree, address bar, and context menus support the same navigation habits as the shell dialogs.
Examples
Example: Show a Themed Open File Dialog
using DevExpress.Xpf.Dialogs;
var dialog = new DXOpenFileDialog {
Filter = "Text Files (*.txt)|*.txt|All Files (*.*)|*.*",
Multiselect = true
};
if(dialog.ShowDialog() == true) {
foreach(string fileName in dialog.FileNames) {
// Process the selected file.
}
}
The dialog behaves as follows:
- Filters the file list by the specified file types
- Allows several files to be selected
Evaluation Period, Pricing Options, and Licensing Terms
Whether you own a license or want to start a 30-day evaluation period, download and register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For key registration instructions, see License Key for DevExpress Products.
If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation version warnings/messages.
This package is included in the following commercial subscriptions:
See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.
Related Components/Packages
DevExpress.Wpf.Core - DevExpress WPF core libraries, themes, and ThemedWindow.
dotnet add package DevExpress.Wpf.Core
DevExpress.Wpf.Controls - DevExpress WPF utility and navigation controls.
dotnet add package DevExpress.Wpf.Controls
DevExpress.Wpf - The complete DevExpress WPF Control suite.
dotnet add package DevExpress.Wpf
Demos
NOTE: Demo links below only work if you already have DevExpress WPF Demos installed on your machine. To install demos, download and run the DevExpress Unified Installer (evaluation or licensed version). Remember to select "Demo Applications" on the product selection screen.
- DevExpress WPF Dialogs - File Dialogs
- DevExpress WPF Dialogs - ThemedWindow Dialogs
- DevExpress WPF Dialogs - ThemedWindow
Documentation
- OpenFile, SaveFile, and FolderBrowser Dialogs
- DXOpenFileDialog Class Reference
- DXSaveFileDialog Class Reference
- DXFolderBrowserDialog Class Reference
Software Bill of Materials (SBOM)
To access SBOM files for DevExpress packages, please refer to the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.
See Also: Information Security | Security - What You Need to Know
Useful Online Resources
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.