Target Platform/Framework: Cross-Platform DevExpress Product Libraries Used: DevExpress AI-powered Extensions for OpenAI, Azure, Ollama, Semantic Kernel (https://www.devexpress.com/ai) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, Reporting
Install
| Product | Versions |
|---|---|
| .NET | |
| Other |
README
AI-powered Extensions for DevExpress WPF Report Designer
The DevExpress.AIIntegration.WPF.Reporting package implements AI-powered extensions for DevExpress WPF Report Designer. Included extensions allow users to create, modify, and localize reports using natural language commands.
Key Features
- "Prompt-to-Report" functionality - users can create a report layout by simply specifying a report description in natural language.
- Modify Reports - users can chat with an AI Assistant to make adjustments to your report layout. This functionality is available in applications that target .NET 8+.
- AI-generated Test Data - an AI assistant can generate test data so that users can preview reports without connecting to a live data source.
- Localize Reports - users can press "Localize with AI" in the Localization Editor to translate all localizable property values to the selected language.
- "Prompt-to-Expression" functionality - users can create valid expressions by simply specifying their descriptions in natural language.
Examples
In a WPF application with the
ReportDesignercomponent, install the DevExpress AI Integration package:dotnet add package DevExpress.AIIntegration.WPF.ReportingInstall packages required for your preferred AI service. See supported AI services for additional information.
Register your AI service at the application startup:
using DevExpress.AIIntegration; using DevExpress.Xpf.Core; using Azure.AI.OpenAI; using Microsoft.Extensions.AI; using System; using System.ClientModel; using System.Windows; namespace DXReportsAILocalization { public partial class App : Application { static App() { CompatibilitySettings.UseLightweightThemes = true; var container = AIExtensionsContainerDesktop.Default; IChatClient chatClient = new AzureOpenAIClient(AzureOpenAIEndpoint, AzureOpenAIKey) .GetChatClient(ModelId).AsIChatClient(); container.RegisterChatClient(chatClient); } private static Uri AzureOpenAIEndpoint = new Uri("YOUR_AZURE_OPENAI_END_POINT"); private static ApiKeyCredential AzureOpenAIKey = new ApiKeyCredential("YOUR_OPENAI_API_KEY"); static string ModelId = "YOUR_MODEL_NAME"; // For example, "gpt-5.4". } }Attach the
Prompt-to-Reportbehavior in XAML or in code-behind.XAML:
```xaml xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner" xmlns:dxai="http://schemas.devexpress.com/winfx/2008/xaml/ai" xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm" ... <dxrud:ReportDesigner x:Name="designer"> <dxmvvm:Interaction.Behaviors> <dxai:ReportPromptToReportBehavior/> </dxmvvm:Interaction.Behaviors> </dxrud:ReportDesigner> ```Code-Behind:
```csharp using DevExpress.AIIntegration.Wpf.Reporting; using DevExpress.Mvvm.UI.Interactivity; public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); ReportPromptToReportBehavior reportBehavior = new ReportPromptToReportBehavior(); Interaction.GetBehaviors(designer).Add(reportBehavior); } } ```
Evaluation Period, Pricing Options, and Licensing Terms
Whether you own a license or want to start a 30-day evaluation period, 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 additional 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:
- DevExpress Reporting Subscription
- DevExpress WPF Subscription
- DevExpress DXperience Subscription
- DevExpress Universal Subscription
See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.
Documentation
AI-powered Report Localization in WPF Report Designer Prompt to Report Behavior in WPF Report Designer Preview Reports with AI-generated Test Data in WPF Report Designer Generate Expressions from Prompts (WPF Report Designer)
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.