DevExpress.Maui.DataGrid.Export
26.2.2-beta
Prefix Reserved
dotnet add package DevExpress.Maui.DataGrid.Export --version 26.2.2-beta
NuGet\Install-Package DevExpress.Maui.DataGrid.Export -Version 26.2.2-beta
<PackageReference Include="DevExpress.Maui.DataGrid.Export" Version="26.2.2-beta" />
<PackageVersion Include="DevExpress.Maui.DataGrid.Export" Version="26.2.2-beta" />
<PackageReference Include="DevExpress.Maui.DataGrid.Export" />
paket add DevExpress.Maui.DataGrid.Export --version 26.2.2-beta
#r "nuget: DevExpress.Maui.DataGrid.Export, 26.2.2-beta"
#:package DevExpress.Maui.DataGrid.Export@26.2.2-beta
#addin nuget:?package=DevExpress.Maui.DataGrid.Export&version=26.2.2-beta&prerelease
#tool nuget:?package=DevExpress.Maui.DataGrid.Export&version=26.2.2-beta&prerelease
DevExpress .NET MAUI Data Grid Export
DevExpress.Maui.DataGrid.Export adds export capabilities to the DevExpress Data Grid for .NET MAUI. The package contains no visual controls: it adds extension methods that export DataGridView content to PDF, Excel, Word, and other formats. The package targets .NET 11 for Android and iOS.
dotnet add package DevExpress.Maui.DataGrid.Export
Key Features
- Document Formats: PDF, DOCX, RTF, HTML, and MHT.
- Spreadsheet and Text Formats: XLSX, XLS, CSV, and TXT.
- Images: Export to a variety of image formats.
- Streams, Files, and Options: Each method writes to a
Streamor a file path. Overloads accept format-specific export options, such asXlsxExportOptions.
Examples
Example: Register the Package
To register required packages, call UseDevExpress...() methods in MauiProgram.cs:
using DevExpress.Maui;
namespace MyApp;
public static class MauiProgram {
public static MauiApp CreateMauiApp() {
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseDevExpress(useLocalization: false)
.UseDevExpressCollectionView()
.UseDevExpressControls()
.UseDevExpressEditors()
.UseDevExpressDataGrid()
.UseDevExpressDataGridExport();
return builder.Build();
}
}
Example: Export Grid Data to Excel
The following code exports a DataGridView named grid to an XLSX file. The OnExportClicked handler writes the Grid content to Employees.xlsx in the application cache folder.
using DevExpress.Maui.DataGrid;
namespace MyApp;
public partial class MainPage : ContentPage {
public MainPage() {
InitializeComponent();
}
async void OnExportClicked(object sender, EventArgs e) {
string filePath = Path.Combine(FileSystem.CacheDirectory, "Employees.xlsx");
await grid.ExportToXlsxAsync(filePath);
}
}
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 subscription:
See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.
Related Components/Packages
DevExpress.Maui.DataGrid - The DevExpress Data Grid for .NET MAUI.
dotnet add package DevExpress.Maui.DataGrid
GitHub Examples
Documentation
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
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. net11.0-android37.0 is compatible. net11.0-ios26.0 is compatible. |
-
net11.0
- DevExpress.Drawing (= 26.2.2-beta)
- DevExpress.Drawing.Skia (= 26.2.2-beta)
- DevExpress.Maui.Core (= 26.2.2-beta)
- DevExpress.Maui.DataGrid (= 26.2.2-beta)
- DevExpress.Printing.Core (= 26.2.2-beta)
- DevExpress.RichEdit.Export (= 26.2.2-beta)
- SkiaSharp (>= 4.150.1)
- SkiaSharp.HarfBuzz (>= 4.150.1)
- System.Drawing.Common (>= 10.0.10)
-
net11.0-android37.0
- DevExpress.Drawing (= 26.2.2-beta)
- DevExpress.Drawing.Skia (= 26.2.2-beta)
- DevExpress.Maui.Core (= 26.2.2-beta)
- DevExpress.Maui.DataGrid (= 26.2.2-beta)
- DevExpress.Printing.Core (= 26.2.2-beta)
- DevExpress.RichEdit.Export (= 26.2.2-beta)
- SkiaSharp (>= 4.150.1)
- SkiaSharp.HarfBuzz (>= 4.150.1)
- SkiaSharp.NativeAssets.Android (>= 4.150.1)
- System.Drawing.Common (>= 10.0.10)
-
net11.0-ios26.0
- DevExpress.Drawing (= 26.2.2-beta)
- DevExpress.Drawing.Skia (= 26.2.2-beta)
- DevExpress.Maui.Core (= 26.2.2-beta)
- DevExpress.Maui.DataGrid (= 26.2.2-beta)
- DevExpress.Printing.Core (= 26.2.2-beta)
- DevExpress.RichEdit.Export (= 26.2.2-beta)
- SkiaSharp (>= 4.150.1)
- SkiaSharp.HarfBuzz (>= 4.150.1)
- SkiaSharp.NativeAssets.iOS (>= 4.150.1)
- System.Drawing.Common (>= 10.0.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on DevExpress.Maui.DataGrid.Export:
| Repository | Stars |
|---|---|
|
DevExpress-Examples/maui-demo-app
DevExpress Demo Center for .NET MAUI
|
| Version | Downloads | Last Updated |
|---|---|---|
| 26.2.2-beta | 42 | 11/23/2026 |
| 26.1.6 | 223 | 10/23/2026 |
| 26.1.5 | 283 | 9/18/2026 |
| 26.1.4 | 285 | 8/7/2026 |
| 26.1.3 | 269 | 6/18/2026 |
| 26.1.2-beta | 143 | 5/20/2026 |
| 25.2.11 | 120 | 10/22/2026 |
| 25.2.10 | 121 | 9/18/2026 |
| 25.2.9 | 146 | 8/4/2026 |
| 25.2.8 | 176 | 6/10/2026 |
| 25.2.7 | 263 | 5/6/2026 |
| 25.2.6 | 219 | 4/7/2026 |
| 25.2.5 | 211 | 3/2/2026 |
| 25.2.4 | 198 | 2/3/2026 |
| 25.2.3 | 482 | 12/19/2025 |
| 25.1.12 | 157 | 6/10/2026 |
| 25.1.11 | 153 | 5/6/2026 |
| 25.1.10 | 156 | 4/7/2026 |
| 25.1.9 | 158 | 3/2/2026 |
| 25.1.8 | 182 | 1/16/2026 |