.NET 11 Support
DevExpress libraries now support .NET 11.
#.NET 10 and Visual Studio 2026 Are Minimum Supported Versions
.NET 10 and Visual Studio 2026 are now the minimum supported .NET version and IDE for DevExpress .NET-based projects (Microsoft support for .NET 8 and .NET 9 ended on November 10, 2026).
To upgrade your projects, run the DevExpress Project Converter. It automatically updates DevExpress and third-party project references, NuGet packages, and project configurations.

Refer to the following breaking change advisory for additional information: .NET 10 and Visual Studio 2026 Are Now Minimum Supported Versions for .NET/.NET Core-Based Projects.
Developer Tool Enhancements
#Simplified DevExpress Menu in Visual Studio
We reworked the DevExpress menu in Visual Studio. The menu is available if you install DevExpress products using our Unified Component Installer.

Security Enhancements
#Patched Third-Party Dependencies for Different .NET Versions
Your .NET 10 and .NET 11 projects no longer require manual version pinning for vulnerable third-party dependencies. DevExpress NuGet packages (v26.1.7+) include a dependency group for each supported .NET version. When a vulnerability is disclosed in a third-party dependency, each group references a patched version for the targeted framework.
Previously, DevExpress packages referenced patched dependency versions for the minimum supported .NET version. In DevExpress releases prior to v26.1.7, .NET 9 and .NET 10 projects may require manual version pinning, depending on the target framework (TFM) and project SDK. Refer to Solution #1 or Solution #2 in the following blog post for additional information in this regard: Application Security, Project Dependency Version Bumps Demystified.
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<dependencies>
<group targetFramework="net8.0">
<dependency id="Azure.Identity" version="1.17.1" />
<dependency id="Microsoft.Extensions.Options" version="8.0.2" />
<dependency id="System.Drawing.Common" version="8.0.15" />
<dependency id="System.Security.Cryptography.Xml" version="8.0.5" />
</group>
<group targetFramework="net9.0">
<dependency id="Azure.Identity" version="1.17.1" />
<dependency id="Microsoft.Extensions.Options" version="9.0.4" />
<dependency id="System.Security.Cryptography.Xml" version="9.0.21" />
</group>
<group targetFramework="net10.0">
<dependency id="Azure.Identity" version="1.17.1" />
<dependency id="Microsoft.Extensions.Options" version="10.0.6" />
<dependency id="System.Security.Cryptography.Xml" version="10.0.13" />
</group>
</dependencies>
</metadata>
</package>
#WCF Dependency Removed from XPO and Printing Core Libraries
DevExpress.Xpo and DevExpress.Printing.Core libraries (v26.2) no longer reference WCF (Windows Communication Foundation). WCF dependencies have a well-documented history of vulnerability disclosures (for instance, System.Security.Cryptography.Xml).
If your .NET Framework application uses WCF-based functionality from these libraries, reference our new DevExpress.Xpo.Services and DevExpress.Printing.Remote libraries instead. Our Project Converter updates project references automatically.
#Digital Signatures for Unified Component Installer Artifacts
We signed all Unified Component Installer artifacts with Authenticode digital signatures. Windows 11 Smart App Control in enforcement mode no longer flags DevExpress runtime assemblies and design-time tools (such as DevExpress.ProjectUpgrade.Package.Async.2026.dll). Automated tests verify these signatures for each release. Refer to the following ticket for additional information: DevExpress assemblies and digital signatures (Authenticode).
Satellite assemblies (DevExpress.XXX.YY.Y.resources.dll) with community translations from our Localization Service (localization.devexpress.com) are not signed. We recommend that you migrate to a single RESX/XML localization file. If you continue to use satellite assemblies, sign them with your own certificate. Refer to the following section for additional information: Single RESX or XML Instead of Satellite Assemblies.
To learn how DevExpress simplifies security analysis and software acceptance in environments with strict security controls, refer to the following:
DateTimeOffset Support
You can now use DateTimeOffset values in DevExpress components directly, without conversion to DateTime. DevExpress components display these values in the user's local time and regional format.

The following DevExpress products support DateTimeOffset values:
- Blazor UI Components
- WinForms UI Controls
- WPF UI Controls
- Reports
Localization Enhancements
#AI-Powered Translations
DevExpress localization resources (v26.2) were translated to more than 20 languages (including German, French, Dutch, Italian, and Spanish) using AI. Our AI translation workflow uses context from DevExpress source code to improve translation accuracy and maintain consistent terminology across DevExpress products.
These translations are available as RESX and XML files in our GitHub repository. To apply translations from XML files, call the XtraLocalizer.CreateXmlUserResourceManager method:
XtraLocalizer.CreateXmlUserResourceManager(culture, "path/to/your/localization");
NOTE: AI-generated translations may contain inaccuracies. We recommend that you review translations before you use them in your application.
#Switch Between Community and AI Translations
Translation packages from our GitHub repository include both AI-generated and community-sourced strings. Our Localization Tool allows you to switch between these translation sets. Right-click a culture and select an option in the Load Translations menu.
If you switch to a different translation set, application UI strings may change.
#Single RESX or XML Instead of Satellite Assemblies
We are deprecating DevExpress localization satellite assemblies. Community-sourced satellite assemblies are not signed, and Windows 11 Smart App Control flags unsigned assemblies.
For .NET-based projects, we strongly recommend that you migrate to a merged RESX/XML localization file from the new Localization Tool or GitHub.com/DevExpress/Localization instead of satellite assemblies or NuGet packages. It is much easier to add and maintain a single version-agnostic RESX file (DevExpress_Localization.de.RESX) than it is to maintain hundreds of DevExpress.XXX.YY.Y.resources.dll files for each DevExpress version. Refer to the following blog post for additional information: Microsoft Multilingual App Toolkit (MAT) Has Been Deprecated: What's Next for DevExpress-Powered App Localization?

If you do not want to embed a RESX file into your project at compile time, call the XtraLocalizer.CreateXmlUserResourceManager method to load a single/merged XML file (DevExpress_Localization.de.XML) dynamically. This technique allows you to load translations from a file system or database at runtime (similar to plugins).
#Localization Service Supports v23.2 and Later
You can no longer view, edit, download, or create user translations for v23.1 and earlier using our Localization Service. DevExpress retains these translations. To request your translation archives, submit a ticket via the DevExpress Support Center.
NOTE: DevExpress does not offer a REST API or ship any built-in LLMs/SLMs. Instead, we follow the BYOL ("bring your own license") principle. To use these features, you need to have an active subscription to AI services (e.g., Azure, Open AI, Google Gemini, Mistral AI, etc.) and obtain the REST API endpoint, key, and model deployment name. These variables must be specified at runtime to enable DevExpress AI-powered Extensions in your application.
Agentic UI in AI Chat Controls — Blazor, WinForms, WPF, XAF
DevExpress AI Chat Controls now include built-in UI elements for agent-driven conversations. Chat messages display model reasoning and tool call details, so users can review how an agent produced a response. When a tool call requires approval, AI Chat pauses the run and displays an approval card. Users can approve/reject the operation before it executes.
v26.2 also adds a chat response provider for Microsoft Agent Framework workflows and new demos connect AI Chat Controls to agent servers through the AG-UI protocol.

Our built-in XAF AI Integration Module is a complete AI Chat example that illustrates these features in Blazor and WinForms applications.
Please review the following What's New sections for additional information about agentic UI elements on each platform:
New and Updated AI Agent Skills for DevExpress Products
DevExpress Agent Skills help AI coding assistants generate accurate code for DevExpress components. Since our v26.1 release, we added new skills and revised all existing skills:
- WinForms — 14 skills for our most popular controls, including Data Grid, Scheduler, Ribbon and Bars, and Charts. Each skill follows the designer-file pattern that Visual Studio expects.
- VCL — 14 skills for editors, data display, navigation, layout, appearance, and VCL Reports. You can also use them in Kai for RAD Studio.
- BI Dashboard — 3 skills for data sources, export, and parameters in ASP.NET Core, Blazor, WinForms, and WPF apps.
- DevExpress Reports — New skills for WinForms and WPF, and a reworked ASP.NET Core skill that verifies results before it reports success.
- WPF — 4 task-oriented skills that build a screen from a screenshot or Figma frame, customize themes, select a grid data source, and add dependency injection.
- DevExtreme — All 13 skills now support DevExtreme-based ASP.NET Core Controls.
Existing skills ask for missing info instead of guessing. When a skill needs API details, it consults the DevExpress Documentation MCP Server. Plugins are available for GitHub Copilot CLI, Claude Code, Codex CLI, and Cursor.
Please review the following What's New sections for additional AI Skill-related information:
Blog posts:
AI-powered Report Design (DevExpress Reports)
AI capabilities/features used in our Report Designers now address additional report design requirements:
- Fix Design Issues Using AI — The AI assistant suggests solutions for layout, data binding, barcode, cross-tab, and export issues detected by our Report Design Analyzer. You review each change before it is applied.
- Optimize Report Design Using AI — Proposed optimizations convert adjacent controls to tables, align text based on data types, and consolidate appearance settings into report styles.
- AI-powered Chat Assistant (CTP)
- Our AI Assistant panel (already included in our WinForms Report Designer) is now available in WPF and Web Report Designers as a Community Technology Preview (CTP). Users can modify report elements, properties, and data bindings in natural language.
- DevExpress Documentation MCP Server Integration — Answers to "how do I" questions are now based on current documentation. In our LLM-as-Judge evals, the average answer score increased from 2.3 to 4.9 (on a scale from 0 to 5).
- Reduced AI Assistant Token Consumption — Input token consumption per request dropped by 57–71%, and the assistant required fewer model round trips.
.NET 11 Support
DevExpress WinForms component libraries now support .NET 11.
Minimum Supported .NET and Visual Studio Versions
.NET 8 and .NET 9 reached End of Support on November 10, 2026. The minimum supported versions for .NET/.NET Core-based DevExpress product libraries are .NET 10 and Visual Studio 2026. Learn more about this global change in the following announcement.
The DevExpress Project Converter automatically re-targets your WinForms projects to .NET 10 to simplify migration.

Target DevExpress-based Projects to .NET 10 and .NET Framework 4.6.2
WinForms AI Agent Skills
v26.2 expands Agent Skills for DevExpress WinForms Controls, structured knowledge packages that equip AI coding assistants with accurate, product-specific expertise for WinForms controls.
Each skill defines the correct NuGet packages, entry-point classes, API patterns, and configuration for a specific WinForms control or usage scenario. AI assistants use this knowledge to generate accurate WinForms code from the first prompt.
Skills follow the open Agent Skills standard and work with Claude Code, GitHub Copilot (CLI, VS Code, Visual Studio, JetBrains Rider), Cursor, and Gemini CLI.
Fluent Icons
The DevExpress Icon Library now includes thousands of new Fluent icons (adapted from our classic icon set).

#Global Switch
Call the WindowsFormsSettings.SetFluentIconStyle method to activate our Fluent icon set globally. Once activated, DevExpress UI controls that support SVG images will use Fluent-style icons.
using DevExpress.XtraEditors;
WindowsFormsSettings.SetFluentIconStyle();
Imports DevExpress.XtraEditors
WindowsFormsSettings.SetFluentIconStyle()
#Extensive Library
Fluent assets include over 2,500 metaphors. To help you find a desired icon, we group DevExpress icons by the following attributes:
- Set — Fluent, Desktop Classic, Blazor
- Palette — Neutral, Colored
- Size — 12, 16, 20, 24, 28, 32, and 48 (different sizes prevent lines from becoming too thick when SVG icons are scaled)
Use the ImageOptions.ImageUri property to assign a Fluent icon in code. The new Icons class lists all available icons, so you can select an icon using IntelliSense.
The following code snippet adds the Add icon to a button:
using DevExpress.IconLibrary;
myButton1.ImageOptions.ImageUri = Icons.Add;
Imports DevExpress.IconLibrary
myButton1.ImageOptions.ImageUri = Icons.Add
DateTimeOffset Support
#WinForms DateEdit
The DevExpress WinForms DateEdit control now supports DateTimeOffset values (common in cloud services and globally distributed systems). The editor displays dates in the user's time zone and allows users to edit them using the standard calendar. You no longer need to manually convert DateTimeOffset values to local DateTime values.
Our WinForms DateEdit component preserves the original offset until the value is edited and saves changes with the correct time zone offset (including daylight savings time adjustments).
You can use the computer's local time zone (default), configure an application-wide time zone (WindowsFormsSettings.TimeZoneInfo), or specify a time zone for individual editors (RepositoryItemDateEdit.TimeZoneId). The TimeZoneId property accepts both IANA and Windows time zone IDs and can be configured at design time.
The following code snippet sets Pacific Standard Time as the application-wide time zone:
using DevExpress.XtraEditors;
using System;
static void Main() {
ApplicationConfiguration.Initialize();
WindowsFormsSettings.TimeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById("Pacific Standard Time");
Application.Run(new Form1());
}
Imports DevExpress.XtraEditors
Imports System
Friend Module Program
Sub Main()
ApplicationConfiguration.Initialize()
WindowsFormsSettings.TimeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById("Pacific Standard Time")
Application.Run(New Form1())
End Sub
End Module
To allow users to view/modify time zone offsets in data-aware controls, make DateTimeOffsetEdit the default editor for DateTimeOffset fields using the WindowsFormsSettings.DateTimeOffsetEditorType property.
How to: Enter Date-time Values
#WinForms Data Grid & Pivot Grid
DevExpress WinForms Data Grid and Pivot Grid allow users to view, group, and filter DateTimeOffset values in their own time zone. Both controls use the computer's local time zone by default. As such, an order placed at 2026-01-01 20:00 -02:00 appears as January 2 for a user in Tokyo.
In the DevExpress Data Grid, all data-related features use the local time zone:
- Grouping and filtering — Group intervals, the Auto Filter Row, "Today", "This Week", and date-range filters use the computer's local time zone to determine calendar dates. Daily/monthly groups and filter results reflect the user time zone.
- Editing — Users select dates from the standard calendar. The grid saves edited values with a local offset.
- Sorting and summaries — The grid sorts/aggregates values using absolute points in time. Records remain in chronological order even when their UTC offsets differ.
- Large data sets — Server Mode fully supports time-zone-aware grouping and filtering.
You can set an application-wide time zone using WindowsFormsSettings.TimeZoneInfo. The EditorContainer.TimeZone property allows you to use a different time zone for individual controls (for instance, to display data using a branch office time zone).
WinForms Template Kit
#UI Templates Migration
The DevExpress Template Kit v26.2 includes WinForms UI Templates. You no longer need to install a separate Visual Studio extension.
UI Templates include pre-configured data editors, buttons, and groups.

Data Editors
Buttons
Groups
WinForms AI Chat
#Display Reasoning Content
Our WinForms AI Chat Control can now display reasoning content (intermediate "thinking" content that reasoning models generate before the final answer) within a collapsible section above the response. Users can view what the AI agent does and why, assess its output, or stop the agent and rephrase the task.
The DevExpress WinForms AI Chat Control displays both reasoning content and tool call details when the response includes them (the default VisibleContentType value is All). Set the AIChatControl.VisibleContentType property to Reasoning to hide tool call details, to FunctionCallInfo to hide reasoning content, or to None to hide both. The following code snippet displays reasoning content and hides tool call details:
aiChatControl1.VisibleContentType = DevExpress.AIIntegration.Chat.AIChatVisibleContentTypes.Reasoning;
aiChatControl1.VisibleContentType = DevExpress.AIIntegration.Chat.AIChatVisibleContentTypes.Reasoning

Call the AIChatControl.SetReasoningContentTemplate method to customize the reasoning content area (for instance, process reasoning content as Markdown).
Reasoning Visualization
#Tool Approval
You can now require user approval before a tool modifies data or executes irreversible actions (such as archiving orders or sending emails).
To request user approval before a tool runs, set RequiresApproval to true in the AIIntegrationTool attribute:
public static class OrderTools {
[AIIntegrationTool(RequiresApproval = true)]
[Description("Archives orders placed before the specified year.")]
public static string ArchiveOrders([Description("The cutoff year.")] int year) {
// Archive orders in your data source.
return $"Orders placed before {year} are archived.";
}
}
You can also call the AIToolsContextBuilder.WithToolApproval method to select tools that require approval, or wrap Microsoft.Extensions.AI tools in ApprovalRequiredAIFunction.
When the AI model calls a tool that requires approval, the AI Chat Control displays a tool approval section in the response message. The section includes tool name and arguments, and Approve/Reject buttons.
If a message contains multiple requests, the section displays them one by one. After the user approves/rejects the last request, the AI Chat Control sends all decisions to the AI service. The AI Chat Control runs approved tools, and the AI model receives a reason for each rejected call.
Enable the AIChatControl.AlwaysApproveButtonVisible property to add the Approve always option to the Approve button. This option approves further calls to the same tool:
aiChatControl1.AlwaysApproveButtonVisible = DevExpress.Utils.DefaultBoolean.True;
aiChatControl1.AlwaysApproveButtonVisible = DevExpress.Utils.DefaultBoolean.True
Use the following API to approve/reject tool calls in code:
The following code snippet rejects all pending requests on a button click:
using DevExpress.AIIntegration.Chat;
async void RejectAll_Click(object sender, EventArgs e) {
var pendingRequests = aiChatControl1.SaveMessages()
.SelectMany(message => message.ToolApprovalRequests)
.Where(request => request.State == AIChatToolApprovalState.Pending)
.ToList();
foreach (var request in pendingRequests)
await aiChatControl1.RejectRequestAsync(request, "The user canceled the operation. Do not call the tool again.");
}
Imports DevExpress.AIIntegration.Chat
Private Async Sub RejectAll_Click(sender As Object, e As EventArgs)
Dim pendingRequests = aiChatControl1.SaveMessages() _
.SelectMany(Function(message) message.ToolApprovalRequests) _
.Where(Function(request) request.State = AIChatToolApprovalState.Pending) _
.ToList()
For Each request In pendingRequests
Await aiChatControl1.RejectRequestAsync(request, "The user canceled the operation. Do not call the tool again.")
Next
End Sub
Tool Calling API
#Microsoft Agent Framework Workflows
The DevExpress.AIIntegration.Agents.Workflows assembly includes a ready-to-use chat response provider for Microsoft Agent Framework workflows (processes that consist of AI agents and standard code steps that run in sequence or in parallel). Call the AsWorkflowChatResponseProvider extension method and register the result as any other chat response provider:
using DevExpress.AIIntegration.Agents.Workflows;
//...
IChatResponseProvider provider = tripPlannerWorkflow.AsWorkflowChatResponseProvider();
serviceCollection.AddSingleton<IChatResponseProvider>(provider);
serviceCollection.AddDevExpressAIDesktop();
Key features/capabilities include the following:
- One message per workflow run. Each run produces a single assistant message, regardless of participating agents. The message combines text from agents marked as workflow output. Intermediate output remains in the run snapshot.
- Progress visualization. Each response update includes a
WorkflowRunContent object with a WorkflowRun snapshot (run status, outputs, agent responses, and pending requests). Call the AIChatControl.SetMessageContentTemplate method to display this data as the response arrives. The AI Chat Control applies the template even if the message contains no text yet. - Human-in-the-loop. A workflow can pause at a request port and ask the user a question. Run status changes to
WaitingForInput, and the request appears in the snapshot. To resume the run, include a WorkflowExternalResponseContent object with a request ID in the next user message. Tool approval requests from workflow agents use the built-in tool approval section. - Persistence. Call the
AddWorkflowContentTypes extension method for JsonSerializerOptions to save and load chat history with run snapshots. To resume workflows awaiting user input after the application restarts, set the WorkflowResponseProviderOptions.CheckpointManager property to a persistent checkpoint store.
The following code snippet uses a custom Razor component to display workflow runs based on a message's WorkflowRun snapshot:
using DevExpress.AIIntegration.Agents.Workflows;
using DevExpress.AIIntegration.Blazor.Chat;
//...
aiChatControl1.SetMessageContentTemplate(message => builder => {
// WorkflowRunView reads message.Contents.OfType<WorkflowRunContent>().LastOrDefault()?.Run
builder.OpenComponent<WorkflowRunView>(0);
builder.AddAttribute(1, nameof(WorkflowRunView.Message), message);
builder.CloseComponent();
});
#Agentic UI Demos (AG-UI)
New demos in our Demo Center connect the AI Chat Control to agent servers through the AG-UI (Agent-User Interaction) protocol. Each demo uses a message content template to render agent output as interactive UI instead of plain text. Use these demos as a reference for the following agentic usage scenarios:
AG-UI Tool Rendering
An agent calls a weather tool, and the AI Chat Control displays current conditions and a 5-day forecast in a weather widget.
AG-UI Server-Side Tools
An agent calls order management tools (list orders, open order details, delete an order). The AI Chat Control displays order summaries and cards. Users can click an order to send the next request to the agent.
AG-UI Human-in-the-Loop
An agent prepares a purchase order and pauses the workflow. The agent resumes after the user approves/rejects the order.
#Attach Resources in Code
You can now add resources (documents, images, or dynamically generated data) to the AI Chat Control context in code. For instance, attach a document that is open alongside the chat so users can discuss document content without selecting the document in the "Attach Context" (+) picker.
Call the AIChatControl.AttachResourcesAsync method to attach resources. Attached resources appear as chips in the chat input area. While the control processes a resource (for instance, downloads its content), the resource chip displays a loading indicator.
using System.Collections.Generic;
using DevExpress.AIIntegration.Blazor.Chat;
async void AttachFaqResource(object sender, EventArgs e) {
var faq = new AIChatResource("faq.md", "Support FAQ",
"Q: How do I reset my password? A: Click Forgot Password on the sign-in page.",
"text/markdown");
await aiChatControl1.AttachResourcesAsync(new List<AIChatResource> { faq });
}
Imports System.Collections.Generic
Imports DevExpress.AIIntegration.Blazor.Chat
Private Async Sub AttachFaqResource(sender As Object, e As EventArgs)
Dim faq = New AIChatResource("faq.md", "Support FAQ",
"Q: How do I reset my password? A: Click Forgot Password on the sign-in page.",
"text/markdown")
Await aiChatControl1.AttachResourcesAsync(New List(Of AIChatResource) From {faq})
End Sub

Chat Resources
#API Enhancements
We expanded the AI Chat Control API to manage conversation histories and track chat input attachments in code:
- AIChatControl.ClearMessages: Removes all messages from chat history, except system messages. This method is equivalent to clicking the built-in "Clear Chat" button (see AIChatControl.ShowHeader). The method also cancels a response in progress.
- AIChatControl.ContextsChanged: Fires when the collection of resources/files attached to chat input changes. Handle this event to display the attachment count in your custom UI or save current attachment state.
using System.Linq;
using DevExpress.AIIntegration.Blazor.Chat.WebView;
void OnClearClick(object sender, EventArgs e) {
aiChatControl1.ClearMessages();
}
void AiChatControl1_ContextsChanged(object sender, AIChatControlContextsChangedEventArgs e) {
labelAttachedCount.Text = $"Attached items: {e.Contexts.Count()}";
}
Imports System.Linq
Imports DevExpress.AIIntegration.Blazor.Chat.WebView
Private Sub OnClearClick(sender As Object, e As EventArgs)
aiChatControl1.ClearMessages()
End Sub
Private Sub AiChatControl1_ContextsChanged(sender As Object, e As AIChatControlContextsChangedEventArgs)
labelAttachedCount.Text = $"Attached items: {e.Contexts.Count()}"
End Sub
Conversation History
SmartPaste – Custom Value Parsing
You can now implement a custom parser and convert AI-generated text into valid editor values based on application data conventions. For instance, a parser can map strings (such as "Yes"/"No") to true/false values expected by a check box.
To implement a custom parser, create a descendant of the SmartPasteEditValueParser class, override the ParseEditValue method, and assign the parser instance to the SmartPasteBehaviorProperties.EditValueParser property:
using DevExpress.AIIntegration.WinForms;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Repository;
using DevExpress.XtraGrid.Views.Grid;
namespace customParsing {
public partial class Form1 : XtraForm {
public Form1() {
InitializeComponent();
SmartPasteBehavior smartPasteBehavior = behaviorManager1.GetBehavior<SmartPasteBehavior>(gridView);
smartPasteBehavior.Properties.EditValueParser = new MyParser();
}
}
class MyParser : SmartPasteEditValueParser {
public override object ParseEditValue(RepositoryItem repItem, string value) {
if (repItem is RepositoryItemTextEdit) {
return value.Trim().ToUpper();
}
return base.ParseEditValue(repItem, value);
}
}
}
Imports DevExpress.AIIntegration.WinForms
Imports DevExpress.XtraEditors
Imports DevExpress.XtraEditors.Repository
Imports DevExpress.XtraGrid.Views.Grid
Namespace customParsing
Partial Public Class Form1
Inherits XtraForm
Public Sub New()
InitializeComponent()
Dim smartPasteBehavior As SmartPasteBehavior =
behaviorManager1.GetBehavior(Of SmartPasteBehavior)(gridView)
smartPasteBehavior.Properties.EditValueParser = New MyParser()
End Sub
End Class
Class MyParser
Inherits SmartPasteEditValueParser
Public Overrides Function ParseEditValue(
repItem As RepositoryItem,
value As String) As Object
If TypeOf repItem Is RepositoryItemTextEdit Then
Return value.Trim().ToUpper()
End If
Return MyBase.ParseEditValue(repItem, value)
End Function
End Class
End Namespace
Smart Paste Extension
WinForms Data Grid
#Track Row Selection Order
Our new Ordered Selection Behavior tracks row selection sequences in the DevExpress WinForms Data Grid. Use this behavior to process selected rows or copy them to another data source in the order users selected values.

The following new APIs are available:
OrderedSelectionBehavior.GetSelectedRows() — Returns rows in selection order.OrderedSelectionBehavior.IndexOf(row) — Returns a row's selection index.OrderedSelectionBehaviorEvents.SelectionChanged — Allows you to handle selected row collection changes.
The following code snippet attaches the behavior to a grid view and retrieves rows in the order users selected them:
using DevExpress.Utils.Behaviors.Common;
using DevExpress.XtraEditors;
using DevExpress.XtraGrid.Views.Grid;
namespace orderedSelection {
public partial class Form1 : XtraForm {
public Form1() {
InitializeComponent();
gridView.OptionsSelection.MultiSelect = true;
gridView.OptionsSelection.MultiSelectMode = GridMultiSelectMode.RowSelect;
// Attach an OrderedSelectionBehavior
behaviorManager1.Attach<OrderedSelectionBehavior>(gridView);
}
void ProcessSelectedRows_Click(object sender, EventArgs e) {
// Get selected rows in selection order
OrderedSelectionBehavior behavior = behaviorManager1.GetBehavior<OrderedSelectionBehavior>(gridView);
object[] selectedRows = behavior.GetSelectedRows();
// ...
}
}
}
Imports DevExpress.Utils.Behaviors.Common
Imports DevExpress.XtraEditors
Imports DevExpress.XtraGrid.Views.Grid
Namespace orderedSelection
Public Partial Class Form1
Inherits XtraForm
Public Sub New()
InitializeComponent()
gridView.OptionsSelection.MultiSelect = True
gridView.OptionsSelection.MultiSelectMode = GridMultiSelectMode.RowSelect
' Attach an OrderedSelectionBehavior
behaviorManager1.Attach(Of OrderedSelectionBehavior)(gridView)
End Sub
Private Sub ProcessSelectedRows_Click(sender As Object, e As EventArgs)
' Get selected rows in selection order
Dim behavior As OrderedSelectionBehavior =
behaviorManager1.GetBehavior(Of OrderedSelectionBehavior)(gridView)
Dim selectedRows As Object() = behavior.GetSelectedRows()
End Sub
End Class
End Namespace
WinForms Alert Windows
#Animations
The WinForms AlertControl v26.2 uses a hide animation (HideAnimationType) when an alert window is dismissed by a click or hidden in code. Previously, alert windows disappeared immediately in these use cases.
#Positioning
You can display alert windows at new locations: TopCenter, BottomCenter, and Center.
WinForms Ribbon and Bars
#Keyboard Navigation Order
You can now customize keyboard navigation order for items within DevExpress WinForms toolbars, menus, and the Ribbon. Keyboard users can reach important commands first (regardless of item position on screen).
Use the new BarItem.TabIndex property to set an item position in keyboard navigation order. Items with an explicit TabIndex come first, in ascending order. Other items follow in the original order. To specify an item's position for a specific toolbar/menu, use the BarItemLink.TabIndex property.
The following code snippet moves Save and Open commands to the beginning of the keyboard navigation order:
barButtonItemSave.TabIndex = 0;
barButtonItemOpen.TabIndex = 1;
barButtonItemSave.TabIndex = 0
barButtonItemOpen.TabIndex = 1
WinForms CameraControl
#Capture Engine Selection
You can choose between DirectShow and MediaFoundation camera capture engines. Select MediaFoundation to reduce memory consumption and support Citrix environments.
Set the new global CameraDeviceSettings.CaptureEngine property at startup:
using DevExpress.Data.Camera;
static void Main() {
ApplicationConfiguration.Initialize();
CameraDeviceSettings.CaptureEngine = CameraCaptureEngine.MediaFoundation;
Application.Run(new Form1());
}
Imports DevExpress.Data.Camera
Sub Main()
ApplicationConfiguration.Initialize()
CameraDeviceSettings.CaptureEngine = CameraCaptureEngine.MediaFoundation
Application.Run(New Form1())
End Sub
WinForms CalcEdit
#Midpoint Rounding
The new RepositoryItemCalcEdit.MidpointRoundingMode property allows you to apply a consistent midpoint rounding rule to popup calculations (regardless of value type or whether text input is enabled). For instance, MidpointRounding.AwayFromZero rounds 2.5 to 3, and MidpointRounding.ToEven rounds 2.5 to 2.
WinForms Rich Text Editor
#Layout Precision Enhancements in PDF Export and Rendering
Our Word Processing engine (v26.2) uses floating-point values (Single, RectangleF, PointF, and SizeF) instead of integers to calculate document positions. This update improves layout precision and rendering fidelity when you export documents to PDF and image formats, print documents, or display them in DevExpress Rich Text Editors.
The engine now positions text and objects more accurately, handles tables and paragraphs with greater precision, and improves rendering compatibility with Microsoft Word.
Documentation
#PDF Structure Destinations and Field Tagging in PDF/UA-2 Export
The PDF export engine (v26.2) resolves navigation targets in PDF/UA-2 documents to PDF structure destinations instead of raw page coordinates. This behavior applies to links that target explicit bookmarks, TOC entries, and cross-reference fields. PDF viewers can navigate to corresponding locations in the document.
The PDF export engine also tags AcroForm fields for PDF/UA-2 compliance. You can export Word documents that contain content controls as accessible PDF forms.
Documentation
#Track Changes in Numbered Lists
Our Word Processing engine (v26.2) tracks changes to numbered lists and displays edits to list items as revisions. Users can review edits while preserving list numbering.
To accept or reject tracked changes, including changes in numbered lists, call the RevisionCollection.AcceptAll or RevisionCollection.RejectAll method.
Documentation
.NET 11 Support
DevExpress WPF component libraries now support .NET 11 (both v26.2 and v26.1.7+).
Documentation
.NET 10 and Visual Studio 2026 — Minimally Supported Versions
.NET 8 and .NET 9 reached end of support on November 10, 2026. .NET 10 and Visual Studio 2026 are now minimum supported versions for DevExpress WPF v26.2. Refer to the following announcement for additional information regarding this global change: .NET 10 and Visual Studio 2026 are now minimum supported versions for .NET/.NET Core-based DevExpress product libraries.
The DevExpress Project Converter simplifies migration: it automatically re-targets your .NET-based WPF projects to .NET 10 and updates DevExpress and third-party project references, packages, and configurations.

Documentation
WPF AI Agent Skills
Our dx-wpf plugin v1.6.0 adds new task-oriented AI agent skills for DevExpress WPF v26.2:
- From Screenshot. Builds a DevExpress-powered WPF screen from a screenshot, image, or Figma frame. The skill selects a control for each region, writes XAML, runs the app, and compares results with your mockup. Example prompt: "Here's a screenshot of an app screen. Build it in this project using DevExpress controls that best fit the layout."
- Theme Customizer. Customizes the appearance of any DevExpress WPF control. The skill starts with public APIs, then tries scoped styles and theme resource override. It compares before/after screenshots to verify results. Example prompt: "Replace the default arrow in BarSplitButtonItem with a custom image."
- Grid Data Source. Binds our WPF GridControl or TreeListControl to data. The skill reads your view model and
DbContext and selects a data binding mode based on expected data volume (ObservableCollection, Server Mode or Instant Feedback, or Virtual Sources). Example prompt: "NorthwindContext.Orders is expected to contain about 500,000 rows in production. Bind a DevExpress GridControl to this ViewModel's orders."
- Dependency Injection. Adds
Microsoft.Extensions.DependencyInjection (optionally with .NET Generic Host) to an existing DevExpress-powered WPF app. The skill moves view models and services to the DI container, replaces singletons and service locators, checks registrations, and runs the app. Example prompt: "Get rid of singletons and the AppServices helper in this project and register services in a proper DI container instead."
The following table compares how often AI models followed DevExpress best practices for Dependency Injection-related tasks:
| Model | With the Skill | Without the Skill |
| Claude Haiku 4.5 | 97% | 19% |
| Claude Sonnet 5 | 100% | 43% |
| Claude Opus 5.5 | 100% | 57% |
WPF skills are available in the DevExpress AI Agent Skills repository.
Documentation
WPF Fluent Theme (CTP)
Our FluentLight theme now supports additional DevExpress WPF controls, including the Data Grid, Ribbon, Dock Layout Manager, and Themed Window. The theme gives DevExpress-powered WPF applications a more modern appearance (inspired by the latest version of Microsoft Office). Fluent Light remains available as a Community Technology Preview (CTP) in this release cycle.
#Supported Controls
New in v26.2
- Ribbon, including the Application Menu, Backstage View, and galleries
- DockLayoutManager
- LayoutControl
- ThemedWindow
- DXTabControl
-
Data editors: PopupBaseEdit, ComboBoxEdit, LookUpEdit, DateEdit (including the date-time picker), DateNavigator, TrackBarEdit, RangeTrackBarEdit, DataPager, SearchControl, and HyperlinkEdit
Supported in v26.1
- Toolbars, main menu, and status bar
- AccordionControl
-
Data editors: TextEdit, ButtonEdit, CheckEdit, PasswordBoxEdit, SpinEdit, ListBoxEdit, ProgressBarEdit, and ToggleSwitchEdit
-
Utility controls: SimpleButton, SplitButton, DropDownButton, ToggleSwitch, and WaitIndicator
-
Standard WPF controls: TextBox, PasswordBox, Button, RadioButton, CheckBox, GroupBox, ScrollViewer, ScrollBar, ProgressBar, ListBox, and ToolTip
Other UI controls retain appearance of the Win11Light theme.
#Design Tokens
The Fluent theme relies on design tokens: named resources from the DevExpress design system (such as primary, secondary, and neutral color ramps). Related controls share tokens, so you can restyle them in one location.
#Fluent Icons and Glyphs
The Fluent Light theme uses our Fluent icon set. The theme also applies Fluent styling to built-in vector shapes: arrows, drop-down glyphs, expand/collapse buttons, window buttons, and sort/filter indicators.
Documentation
WPF Fluent Icons
The DevExpress Icon Library now includes a Fluent icon set that matches our Fluent theme. You can use Fluent icons with any theme to give your application a more modern appearance. The library also includes an icon set with classic DevExpress icons (DesktopClassic).
#Global Icon Set Switch
Set the ApplicationThemeHelper.ActiveIconSet property to Fluent to use Fluent icons across your entire application. The setting applies to built-in SVG icons used within DevExpress controls and images declared with {dx:DXImage} syntax (including DevExpress.Images SVG files). You do not need to change image markup:
public partial class App : Application {
protected override void OnStartup(StartupEventArgs e) {
ApplicationThemeHelper.ActiveIconSet = XpfIconSet.Fluent;
base.OnStartup(e);
}
}
Images without a Fluent counterpart retain their original appearance. If you do not specify the ActiveIconSet property, icon set is based on application theme: the Fluent Light theme uses Fluent icons, and other themes retain classic icons.
Documentation
#Automatic Size Selection
Fluent icons use a separate SVG file for each size mode (from 12×12 to 48×48 px) to maintain line sharpness and thickness consistency. If you do not specify icon size, the control selects the SVG that best matches rendered size. Small and large Ribbon items display the same icon with the same line thickness.
#Colored and Neutral Icons
Icons are available in Colored and Neutral palettes. Colored icons retain their original colors, while Neutral icons use the currentColor keyword. DevExpress themes recolor currentColor elements just like elements with a Black color style (see Use the currentColor Keyword). As a result, neutral icons match theme foreground and item states (normal, hovered, selected).

To add an icon from the library, specify its name, palette, and size in {dx:DXImage} markup:
<dxb:BarButtonItem Content="Open" Glyph="{dx:DXImage folder_open}" RibbonStyle="Large"/>
<dxb:BarButtonItem Content="Add" Glyph="{dx:DXImage Icon=add_circle, Palette=Neutral}"/>
Call the DXImageExtension.CreateImageSource method to add an icon from the DevExpress Icon Library in code.
#New Image Picker
The DevExpress Image Picker helps you locate and assign icons at design time.
Follow the steps below to assign an icon:
-
Open the Image Picker from Quick Actions of an image property (for instance, a bar item glyph) or from the Visual Studio Extensions → DevExpress menu.
-
On the DevExpress Icon Library tab (displays both Fluent and DesktopClassic icons), search for an icon, select a palette and size, and click Add.
Generated {dx:DXImage} markup does not include the icon set (Fluent/DesktopClassic), so the icon follows global app settings. Uncheck the Respect the global theming property option in the Image Picker to add the icon set to image markup.

Documentation
WPF Themed Window
#Mica and Acrylic Backdrops
ThemedWindow now supports Windows 11 backdrop materials (displayed behind window content and title bar). Use them to give your WPF application the look and feel of native Windows 11 and Microsoft Office apps.

The ThemedWindow.BackdropType property activates a backdrop:
| Backdrop Type | Description |
| Mica | Tints the window with desktop wallpaper color (a lighter effect). |
| MicaAlt | Tints the window with desktop wallpaper color (a stronger effect). |
| Acrylic | Blurs content behind the window. |
| None | Displays a solid color background (default). |
The following code snippet applies the Mica Alt backdrop to a window:
<dx:ThemedWindow
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
...
BackdropType="MicaAlt">
...
</dx:ThemedWindow>
You can also apply a backdrop to all windows in the application, including DevExpress dialogs. Set the static ThemedWindow.DefaultBackdropType property and use the DefaultBackdropTint and DefaultBackdropOpacity properties to configure the effect:
using DevExpress.Xpf.Core;
//...
public partial class App {
protected override void OnStartup(StartupEventArgs e) {
base.OnStartup(e);
ThemedWindow.DefaultBackdropType = BackdropType.Mica;
ThemedWindow.DefaultBackdropTint = Colors.DodgerBlue;
ThemedWindow.DefaultBackdropOpacity = 0.4;
}
}
The ThemedWindow.BackdropTint and ThemedWindow.BackdropOpacity properties allow you to override application-wide settings for an individual window.
Documentation
#Popup Backdrop
When the window has a backdrop, the Accordion navigation rail also displays the pane overlay and item flyouts with a backdrop. The static ThemedWindow.DefaultPopupBackdropType property specifies popup backdrop type. Use the new ThemedWindow.PopupBackdropType, PopupBackdropTint, and PopupBackdropOpacity properties to customize popup backdrop for a window or an individual accordion:
<dx:ThemedWindow BackdropType="Mica"
dx:ThemedWindow.PopupBackdropType="MicaAlt">
...
</dx:ThemedWindow>
WPF Themed Border
Our new ThemedBorder element places a control or a group of elements in a panel with rounded corners and a shadow. ThemedBorder takes the background, border brush, and shadow color from the applied theme.
#Rounded Corners for Any Content
ThemedBorder clips its child content to its rounded inner edge, allowing you to apply rounded corners to any control, including controls that do not natively support them. In contrast, a standard WPF Border only rounds its own background and frame. Child elements with their own background - such as column headers or scroll bars - can extend into and cover the rounded corners.
The following code snippet uses ThemedBorder to add rounded corners, a frame, and a shadow to our WPF Data Grid:
<dx:ThemedBorder CornerRadius="8"
BorderThickness="1"
ShowShadow="True"
Margin="16">
<dxg:GridControl ItemsSource="{Binding Orders}"
AutoGenerateColumns="AddNew"
ShowBorder="False">
<dxg:GridControl.View>
<dxg:TableView AutoWidth="True"/>
</dxg:GridControl.View>
</dxg:GridControl>
</dx:ThemedBorder>
Set the ClipChild property to false to draw the child element without clipping.
#Fast Shadows
Activate the ShowShadow property to display a shadow around the border. To customize shadow appearance, use our new ShadowColor, ShadowBlurRadius, ShadowDirection, ShadowDepth, and ShadowOpacity properties.
Unlike DropShadowEffect, ThemedBorder renders shadows without bitmap effects. This reduces rendering overhead when panel content changes and allows you to display multiple panels with shadows simultaneously. In our tests, we displayed 96 panels with shadows and updated panel content on every frame. DropShadowEffect rendered about 3 frames per second, while ThemedBorder rendered more than 50.
Documentation
WPF Accordion
#Navigation Rail
The AccordionControl includes a new NavigationRail view mode (inspired by modern Windows apps such as Windows Settings, Microsoft Store, and Microsoft Teams). The navigation pane displays items as a tree with icons and captions, or as a narrow rail of icons. Users can click the pane button (☰) to open and close the pane.
Set the AccordionControl.ViewMode property to NavigationRail to switch our WPF Accordion to this mode. Items, data bindings, selection, and templates do not change:
<dxa:AccordionControl ViewMode="NavigationRail"
PaneDisplayMode="Auto"
ShowSearchControl="True"
RootItemDisplayMode="Item">
<dxa:AccordionItem Header="Home" Glyph="{dx:DXImage home, Set=Fluent, Palette=Neutral, Size=Size16}"/>
<dxa:AccordionItem Header="Mail" Glyph="{dx:DXImage mail, Set=Fluent, Palette=Neutral, Size=Size16}">
<dx:Badge.Badge>
<dx:Badge Content="3"/>
</dx:Badge.Badge>
</dxa:AccordionItem>
<dxa:AccordionItem Header="Settings" Placement="Bottom"
Glyph="{dx:DXImage settings_gear, Set=Fluent, Palette=Neutral, Size=Size16}"/>
</dxa:AccordionControl>
Our NavigationRail view mode includes the following features/capabilities:
- Adaptive pane. The AccordionControl.PaneDisplayMode property specifies whether the pane displays the item tree next to content, a rail of icons, or only the pane button. In
Auto mode, the control selects the mode based on window width. PaneOpening and PaneClosing events allow you to cancel open/close actions.
- Pane button in the window header. In a ThemedWindow, the pane button appears in the window header. In a Ribbon window, the Ribbon header button opens the pane. The window header can also display a Back button.
- Footer. Use the AccordionItem.Placement property to pin an item (for example, Settings) to the bottom of the pane.
- Rail items. The rail displays root items with captions below icons and opens a flyout with child items when a user clicks a group. A selection indicator slides to the selected item. You can activate the ShowSearchControl property to add a search button to the rail.
- Mica and Acrylic. If the window has a backdrop, the pane is transparent, and the backdrop shows through. Flyouts and the pane opened over content use the Acrylic popup backdrop.
#Item Badges
Accordion items can now display badges: a count (such as unread messages), a dot that marks something as new, a short string, or a status icon. Badges work across all view modes. A badge appears at the end of the row in the item tree and on the item icon in the navigation rail.
The Accordion control uses the same Badge objects as bar items and Ribbon pages. Use the Badge.Badge attached property to mark an item. The accordion adapts badges to location: a rail icon fits a count up to 99+, a tree row fits a count up to 999+, and an item tooltip displays the complete value.
Use the Badge.BadgeKind property to specify badge status color (a Neutral status is also available). To display a status icon, use the Badge.Glyph property. You can select an icon from the Segoe Fluent Icons font or use predefined BadgeGlyphs (Attention, Informational, Success, Caution, and Critical).
<!-- A count -->
<dx:Badge Content="5"/>
<!-- A green dot -->
<dx:Badge BadgeKind="Success"/>
<!-- A red status icon -->
<dx:Badge BadgeKind="Error" Glyph="{x:Static dx:BadgeGlyphs.Critical}"/>
#Glyphs for Item States
Use the AccordionItem.SelectedGlyph property to display a separate glyph when the item is selected. For instance, you can follow Microsoft Teams patterns and use a filled icon for the selected item and outline icons for other items.
Monochrome SVG glyphs (including neutral icons from the DevExpress Icon Library) can use theme colors for item states (normal, hovered, pressed, selected, and disabled). The Accordion control colors glyphs by item state in NavigationRail view mode. Use the AccordionControl.ColorGlyphsByItemState property to change this behavior.
WPF Navigation Frame
#Back Button in the Window Header
Set the NavigationFrame.SyncWithWindowBackButton property to true and connect a NavigationFrame to the ThemedWindowBack button. The window header automatically displays the button when the frame can navigate back.
<dxwui:NavigationFrame x:Name="frame" SyncWithWindowBackButton="True"/>
The window's Back button remains synchronized when you navigate the frame using FrameNavigationService. In a Ribbon window, the Back button appears before the window icon (like Microsoft Office apps).
In NavigationRail view mode, use Navigation attached properties to associate Accordion items with pages. When users navigate back, the Accordion selects the item that matches the current page.
WPF AI Chat
#Enhanced Overlay Support
WPF menus, tooltips, dialogs, flyouts, floating dock panels, and other overlay elements now appear on top of the AI Chat Control.
The control hosts web content in a composition-based WebView2 control that integrates with the WPF visual tree.
Our AI Chat Control requires net10.0-windows10.0.17763.0. The DevExpress Project Converter updates the target framework automatically. Refer to the following breaking change for additional information in this regard: WPF AI Chat Control requires Windows 10 build 17763.
#Display Reasoning Content
Our WPF AI Chat Control can now display reasoning content (intermediate "thinking" content that reasoning models generate before the final answer) within a collapsible section above the response. Users can view what the AI agent does and why, assess its output, or stop the agent and rephrase the task.
The DevExpress WPF AI Chat Control displays both reasoning content and tool call details when the response includes them (the default VisibleContentType value is All). Set the AIChatControl.VisibleContentType property to Reasoning to hide tool call details, to FunctionCallInfo to hide reasoning content, or to None to hide both. The following code snippet displays reasoning content and hides tool call details:
<dxaichat:AIChatControl x:Name="aiChatControl"
VisibleContentType="Reasoning" />

Use the AIChatControl.ReasoningContentTemplate property to customize reasoning content area (for instance, process reasoning content as Markdown).
Documentation
#Tool Approval Visualization
The AI Chat Control now includes a built-in confirmation UI for human-in-the-loop tool calls. When an AI agent calls an ApprovalRequiredAIFunction (Microsoft.Extensions.AI tool that requires approval), the control displays a tool approval section with the tool name, call arguments, and Approve/Reject buttons. Users can review an operation before execution (for instance, before an AI agent archives orders or sends a marketing email).

If the AI model requests multiple tool calls simultaneously, the AI Chat Control displays requests one by one and indicates the request position (for instance, 1/3). After the user approves/rejects the last request, the control sends all decisions to the AI service in a single batch. The chat client runs approved tools, and the AI model receives a reason for each rejected call.
Activate the AIChatControl.AlwaysApproveButtonVisible property to add Approve once and Approve always commands to the Approve button. If a user selects Approve always, the control approves further calls to the same tool until chat history is cleared/reloaded:
<dxaichat:AIChatControl x:Name="aiChatControl"
AlwaysApproveButtonVisible="True" />
Set the AIChatControl.ToolApprovalResponseMode property to AlwaysApprove/AlwaysReject to approve/reject tool calls without user interaction:
<dxaichat:AIChatControl x:Name="aiChatControl"
ToolApprovalResponseMode="AlwaysApprove" />
To replace the built-in tool approval section with custom UI, specify the AIChatControl.ToolApprovalContentTemplate property. To make decisions in code, obtain AIChatToolApprovalRequest objects from the BlazorChatMessage.ToolApprovalRequests collection and call the ApproveRequestAsync, AlwaysApproveRequestAsync, or RejectRequestAsync method.
Documentation
#AI Tool Calling API: Tool Approval Support
DevExpress AI tools (methods marked with the AIIntegrationTool attribute) can now require user approval. Set the attribute's RequiresApproval property to true, or call the AIToolsContextBuilder.WithToolApproval method to select tools that require approval when you build a tool context. When the AI model calls such a tool, the AI Chat Control displays the built-in tool approval section and runs the tool only after the user approves the call:
public static class OrderTools {
[AIIntegrationTool(RequiresApproval = true)]
[Description("Archives orders placed before the specified year.")]
public static string ArchiveOrders([Description("The cutoff year.")] int year) {
// Archive orders in your data source.
return $"Orders placed before {year} are archived.";
}
}
The following code snippet requires approval for the ArchiveOrders tool when you build a tool context:
var context = new AIToolsContextBuilder()
.WithToolMethods(OrderTools.ArchiveOrders, OrderTools.GetOrderCount)
.WithToolApproval(tool => tool.Name == nameof(OrderTools.ArchiveOrders))
.Build();
AIExtensionsContainerDesktop.Default.AddAIToolsContext(context);
Documentation
#Microsoft Agent Framework Workflows
The DevExpress.AIIntegration.Agents.Workflows assembly includes a ready-to-use chat response provider for Microsoft Agent Framework workflows (processes that consist of AI agents and standard code steps that run in sequence or in parallel). Call the AsWorkflowChatResponseProvider extension method and register the result as any other chat response provider:
using DevExpress.AIIntegration.Agents.Workflows;
//...
IChatResponseProvider provider = tripPlannerWorkflow.AsWorkflowChatResponseProvider();
serviceCollection.AddSingleton<IChatResponseProvider>(provider);
serviceCollection.AddDevExpressAIDesktop();
Key features/capabilities include the following:
- One message per workflow run. Each run produces a single assistant message, regardless of participating agents. The message combines text from agents marked as workflow output. Intermediate output remains in the run snapshot.
- Progress visualization. Each response update includes a
WorkflowRunContent object with a WorkflowRun snapshot (run status, outputs, agent responses, and pending requests). Use the AIChatControl.MessageContentTemplate property to display this data as the response arrives. The AI Chat Control applies the template even if the message contains no text yet.
- Human-in-the-loop. A workflow can pause at a request port and ask the user a question. Run status changes to
WaitingForInput, and the request appears in the snapshot. To resume the run, include a WorkflowExternalResponseContent object with a request ID in the next user message. Tool approval requests from workflow agents use the built-in tool approval section.
- Persistence. Call the
AddWorkflowContentTypes extension method for JsonSerializerOptions to save and load chat history with run snapshots. To resume workflows awaiting user input after the application restarts, set the WorkflowResponseProviderOptions.CheckpointManager property to a persistent checkpoint store.
The following code snippet uses a custom Razor component to display workflow runs based on a message's WorkflowRun snapshot:
using DevExpress.AIIntegration.Agents.Workflows;
using DevExpress.AIIntegration.Blazor.Chat;
//...
aiChatControl.MessageContentTemplate = message => builder => {
// WorkflowRunView reads message.Contents.OfType<WorkflowRunContent>().LastOrDefault()?.Run
builder.OpenComponent<WorkflowRunView>(0);
builder.AddAttribute(1, nameof(WorkflowRunView.Message), message);
builder.CloseComponent();
};
#Agentic UI Demos (AG-UI)
New demos in our Demo Center connect the AI Chat Control to agent servers through the AG-UI (Agent-User Interaction) protocol. Each demo uses a message content template to render agent output as interactive UI instead of plain text. Use these demos as a reference for the following agentic usage scenarios:

AG-UI Tool Rendering
An agent calls a weather tool, and the AI Chat Control displays current conditions and a 5-day forecast in a weather widget.
AG-UI Server-Side Tools
An agent calls order management tools (list orders, open order details, delete an order). The AI Chat Control displays order summaries and cards. Users can click an order to send the next request to the agent.
AG-UI Human-in-the-Loop
An agent prepares a purchase order and pauses the workflow. The agent resumes after the user approves/rejects the order.
#Customize Chat Appearance
v26.2 adds the following AI Chat Control appearance properties:
Use the AIChatControl.AppearanceResourcesOverride property to customize internal chat colors (so they match your app's style). Assign a resource dictionary with brushes for ChatColorKey entries you wish to override. All other colors retain theme values.
<dxaichat:AIChatControl x:Name="aiChatControl" UseStreaming="True">
<dxaichat:AIChatControl.AppearanceResourcesOverride>
<ResourceDictionary>
<!-- Message list background -->
<SolidColorBrush x:Key="{x:Static dxaichat:ChatColorKey.SurfaceNeutralDefaultRest}" Color="#FFF8F2"/>
<!-- User message bubble background -->
<SolidColorBrush x:Key="{x:Static dxaichat:ChatColorKey.SurfacePrimaryDeepRest}" Color="#E7EFF9"/>
<!-- Assistant message bubble background -->
<SolidColorBrush x:Key="{x:Static dxaichat:ChatColorKey.SurfaceNeutralSubduedRest}" Color="#E8F5E9"/>
<!-- Primary text color -->
<SolidColorBrush x:Key="{x:Static dxaichat:ChatColorKey.ContentNeutralDefaultRest}" Color="#161616"/>
<!-- Send button background (resting / pressed) -->
<SolidColorBrush x:Key="{x:Static dxaichat:ChatColorKey.SurfacePrimaryDefaultRest}" Color="#6750A4"/>
<SolidColorBrush x:Key="{x:Static dxaichat:ChatColorKey.SurfacePrimaryDefaultActive}" Color="#4F378B"/>
<!-- Send button icon -->
<SolidColorBrush x:Key="{x:Static dxaichat:ChatColorKey.ContentNeutralDefaultStaticDarkRest}" Color="#FFFFFF"/>
<!-- Submit area / suggestion card border -->
<SolidColorBrush x:Key="{x:Static dxaichat:ChatColorKey.BorderNeutralDefaultRest}" Color="#6750A4"/>
<!-- Error message bubble background -->
<SolidColorBrush x:Key="{x:Static dxaichat:ChatColorKey.SurfaceDangerDeepRest}" Color="#FBE9E7"/>
</ResourceDictionary>
</dxaichat:AIChatControl.AppearanceResourcesOverride>
</dxaichat:AIChatControl>
Documentation
#Customize Assistant Message Text Color
You can now set a custom text color for assistant messages. Assign a brush to the AIChatControl.AssistantMessageForeground property:
<dxaichat:AIChatControl x:Name="aiChatControl"
UseStreaming="True"
AssistantMessageForeground="DarkRed">
</dxaichat:AIChatControl>
#Attach Resources in Code
You can now add resources (documents, images, or dynamically generated data) to the AI Chat Control context in code. For instance, attach a document that is open alongside the chat so users can discuss document content without selecting the document in the "Attach Context" (+) picker.
Call the AIChatControl.AttachResourcesAsync method to attach resources. Attached resources appear as chips in the chat input area. While the control processes a resource (for instance, downloads its content), the resource chip displays a loading indicator.
using System.Collections.Generic;
using DevExpress.AIIntegration.Blazor.Chat;
async void AttachFaqResource(object sender, RoutedEventArgs e) {
var faq = new AIChatResource("faq.md", "Support FAQ",
"Q: How do I reset my password? A: Click Forgot Password on the sign-in page.",
"text/markdown");
await aiChatControl.AttachResourcesAsync(new List<AIChatResource> { faq });
}

Documentation
#API Enhancements
We expanded the AI Chat Control API to manage conversation histories and track chat input attachments in code:
AIChatControl.ClearMessages: Removes all messages from chat history, except system messages. This method is equivalent to clicking the built-in "Clear Chat" button (see AIChatControl.ShowHeader). The method also cancels a response in progress.
AIChatControl.ContextsChanged: Fires when the collection of resources/files attached to chat input changes. Handle this event to display the attachment count in your custom UI or save current attachment state.
void OnClearClick(object sender, RoutedEventArgs e) {
aiChatControl.ClearMessages();
}
void AiChatControl_ContextsChanged(object sender, AIChatControlContextsChangedEventArgs e) {
attachedCountText.Text = $"Attached items: {e.Contexts.Count()}";
}
Documentation
WPF Tab Control
#Delayed Tab Content Cache
The DXTabControl can display the selected tab first, then load and cache content for remaining tabs. This mode reduces initial rendering time for controls with multiple tabs. Once the control caches remaining content, users can switch between tabs instantly.
To enable this behavior, set the TabContentCacheMode property to the new CacheAllTabsDelayed value:
<dx:DXTabControl TabContentCacheMode="CacheAllTabsDelayed">
<dx:DXTabItem Header="Grid Tab" Content="{Binding .}">
<dx:DXTabItem.ContentTemplate>
<DataTemplate>
<dxg:GridControl ItemsSource="{Binding Source}"/>
</DataTemplate>
</dx:DXTabItem.ContentTemplate>
</dx:DXTabItem>
<!-- ... -->
</dx:DXTabControl>
The following table compares available cache modes:
The LayoutGroup.TabContentCacheMode property supports this new mode.
Documentation
WPF Data Grid
#Row Background in Tree Indents
The TreeListView can now extend row backgrounds (focused, selected, alternate, and RowStyle colors) into the tree indent region with expand buttons, checkboxes, and node images. Activate the new ShowRowBackgroundInTreeIndent property to enable this behavior.
<dxg:GridControl ItemsSource="{Binding Employees}">
<dxg:GridControl.View>
<dxg:TreeListView KeyFieldName="ID" ParentFieldName="ParentID"
ShowRowBackgroundInTreeIndent="True"
AlternationCount="2" AlternateRowBackground="LightGray" />
</dxg:GridControl.View>
</dxg:GridControl>

ShowRowBackgroundInTreeIndent Node
#Customize Cell Validation Error Icons
TableView and TreeListView include new properties that allow you to customize validation error icons in cells:
The following code snippet hides validation error icons across all columns except Salary:
<dxg:GridControl ItemsSource="{Binding Employees}">
<dxg:GridControl.View>
<dxg:TableView ShowCellValidationError="False"/>
</dxg:GridControl.View>
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="Name"/>
<dxg:GridColumn FieldName="Salary" ShowCellValidationError="True"/>
</dxg:GridControl.Columns>
</dxg:GridControl>
The following code snippet increases validation error icon size and adds margins around them:
<dxg:GridControl ItemsSource="{Binding Employees}">
<dxg:GridControl.View>
<dxg:TableView CellValidationErrorSize="20,20"
CellValidationErrorMargin="4,0,4,0"/>
</dxg:GridControl.View>
</dxg:GridControl>
Documentation
#Duplicate Conditional Formatting Rules
Our Conditional Formatting Rules Manager includes a new Duplicate Rule split button. Users can copy an existing rule for the same/different column instead of configuring a new rule from scratch:
- Click the button to create a copy of the selected rule for the same column. Modify the copy using the Column combo box or the Edit Formatting Rule dialog.
- Click the button's arrow and select another column to create a copy for that column.

The manager always displays the Duplicate Rule button (no additional settings required).
Documentation
#Customize Row and Cell Separators
You can now change row/cell separator color and thickness in TableView and TreeListView (to distinguish specific columns or match separators to your app's style).

The following code snippet colors row separators red and column separators blue:
<dxg:GridControl ItemsSource="{Binding Employees}">
<dxg:GridControl.View>
<dxg:TableView RowSeparatorBrush="Red"
RowSeparatorThickness="2,3,2,4"
CellSeparatorBrush="Blue"
CellSeparatorThickness="1"/>
</dxg:GridControl.View>
</dxg:GridControl>
The following code snippet applies a custom separator brush and thickness to rows where Salary equals 54000:
<dxg:GridControl ItemsSource="{Binding Employees}">
<dxg:GridControl.View>
<dxg:TableView RowSeparatorBrush="Blue" RowSeparatorThickness="6">
<dxg:TableView.RowStyle>
<Style TargetType="{x:Type dxg:RowControl}">
<Style.Triggers>
<DataTrigger Binding="{Binding Row.Salary}" Value="54000">
<Setter Property="RowSeparatorBrush" Value="PaleVioletRed"/>
<Setter Property="RowSeparatorThickness" Value="5"/>
</DataTrigger>
</Style.Triggers>
</Style>
</dxg:TableView.RowStyle>
</dxg:TableView>
</dxg:GridControl.View>
</dxg:GridControl>
Documentation
#Rounded Corners and Padding
GridControl, TreeListControl, and GanttControl can now display rounded corners. Use the new DataControlBase.CornerRadius property to specify the corner radius. Set the Padding property to add space between control borders and content:
<dxg:GridControl ItemsSource="{Binding Orders}"
AutoGenerateColumns="AddNew"
CornerRadius="8"
Padding="4">
<dxg:GridControl.View>
<dxg:TableView />
</dxg:GridControl.View>
</dxg:GridControl>

The default corner radius depends on the applied theme: 8 for the FluentLight theme and 0 (square corners) in other themes.
To round corners and display shadows around other controls, use the ThemedBorder element.
Data Grid Appearance Customization Gantt Appearance Customization
#DateTimeOffset Columns and Time Zones
We added DateTimeOffset support to the following controls:
GridControl, TreeListControl, TreeViewControl, GanttControl, and PropertyGridControl when leveraging the following features/capabilities:
- Display/in-place editing
- Sorting and grouping
- Drop-down filters and the Filter Editor
- Conditional formatting
- Summaries
- Unbound columns and columns generated from data annotations
Our WPF Gantt control also accepts DateTimeOffset fields in task date mappings.
Set the new DataControlBase.TimeZone property to use one time zone (such as a user's time zone) for all values. The control converts values to this time zone for display, editing, grouping, filtering, and summaries while preserving original values in the data source. If you do not set the property, cells display each value with its original offset:
<dxg:GridControl ItemsSource="{Binding Meetings}"
TimeZone="Central European Standard Time">
<dxg:GridColumn FieldName="Title"/>
<dxg:GridColumn FieldName="Start">
<dxg:GridColumn.EditSettings>
<dxe:DateEditSettings MaskType="DateTimeOffset"
Mask="M/d/yyyy h:mm tt zzz"
MaskUseAsDisplayFormat="True"/>
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
</dxg:GridControl>
For the PropertyGridControl, use the new PropertyGridControl.TimeZone property.
DataControlBase.TimeZone PropertyGridControl.TimeZone
WPF Data Editors
#DateTimeOffset Values and Time Zones
The DateEdit can now display and edit DateTimeOffset values. The editor can convert stored values to the user’s time zone, so dates/times appear in local time (regardless of the server's time zone).

To use DateTimeOffset values, set the editor's MaskType property to DateTimeOffset or DateTimeOffsetAdvancingCaret and bind the new DateEdit.DateTimeOffset property to your data.
Use the new TextEdit.TimeZone property to specify a user's time zone. The editor uses this time zone to display values and determine UTC offsets for user input. The read-only DateEdit.ActualDateTime property returns the editor's value converted to the specified time zone.
If you do not specify the TimeZone property, DateEdit and TextEdit display DateTimeOffset values with original offsets. For DateEdit, add the zzz specifier to the editor mask to display the offset (the default TextEdit mask already includes it).
The following code snippet binds a DateEdit to the DateTimeOffset property and displays the value using the Pacific time zone. The TextBlock displays the raw value:
<StackPanel>
<TextBlock Text="{Binding DepartureTime}"/>
<dxe:DateEdit MaskType="DateTimeOffset"
DateTimeOffset="{Binding DepartureTime}"
TimeZone="Pacific Standard Time"/>
</StackPanel>
Data controls also display DateTimeOffset columns in a specified time zone. Refer to the following section for additional information in this regard: DateTimeOffset Columns and Time Zones.
DateEdit.DateTimeOffset TextEdit.TimeZone
WPF Rich Text Editor
#Layout Precision Enhancements in PDF Export and Rendering
Our Word Processing engine (v26.2) uses floating-point values (Single, RectangleF, PointF, and SizeF) instead of integers to calculate document positions. This update improves layout precision and rendering fidelity when you export documents to PDF and image formats, print documents, or display them in DevExpress Rich Text Editors.
The engine now positions text and objects more accurately, handles tables and paragraphs with greater precision, and improves rendering compatibility with Microsoft Word.
Documentation
#PDF Structure Destinations and Field Tagging in PDF/UA-2 Export
The PDF export engine (v26.2) resolves navigation targets in PDF/UA-2 documents to PDF structure destinations instead of raw page coordinates. This behavior applies to links that target explicit bookmarks, TOC entries, and cross-reference fields. PDF viewers can navigate to corresponding locations in the document.
The PDF export engine also tags AcroForm fields for PDF/UA-2 compliance. You can export Word documents that contain content controls as accessible PDF forms.
Documentation
#Track Changes in Numbered Lists
Our Word Processing engine (v26.2) tracks changes to numbered lists and displays edits to list items as revisions. Users can review edits while preserving list numbering.
To accept or reject tracked changes, including changes in numbered lists, call the RevisionCollection.AcceptAll or RevisionCollection.RejectAll method.
Documentation
DevExtreme AI Agent Skills Enhancements
In v26.1, we published 13 DevExtreme AI Agent skills for Angular, React, Vue, and jQuery applications. All 13 skills now also support DevExtreme-based ASP.NET Core Controls. Use these skills to help AI coding agents generate higher-quality code that follows DevExtreme APIs, patterns, and best practices. Skills cover our DataGrid, Scheduler, Form, Chat, Button, six Data Editors, DataSource, and Theming.
Updated DevExtreme AI Agent Skills improve code generation for ASP.NET Core and other supported frameworks:
- For ASP.NET Core projects, the assistant builds the project and fixes only members rejected by the compiler. This helps catch JavaScript options that are invalid in Razor builder syntax.
- New template guides describe data available to templates in Angular, React, Vue, jQuery, and ASP.NET Core.
- Generated templates use HTML-encoded output (
<%- %>) and reserve raw output for trusted HTML. - The assistant skips framework questions when the project already identifies the framework.
If your project contains DevExtreme instruction files (instructions/*.instructions.md) copied from earlier releases, you can delete them. DevExtreme skills now include the same rules, updated for v26.2.
Design System and New Fluent Next Themes
DevExtreme v26.2 ships with new Fluent Next themes — an evolution of our existing Fluent themes, inspired by Microsoft Fluent 2. Built on the DevExpress Design System, these themes use design tokens for more flexible customization.
#Fluent Next — Design System Documentation
Our DevExpress Design System documentation describes key styling principles behind our Fluent themes, including design tokens, their semantic roles, and how they map to UI elements. DevExtreme Fluent Next themes implement these tokens as CSS variables to apply color, typography, and spacing styles.
#Fluent Next — Design System Variables and Theme Customization
Design System CSS variables allow you to customize colors, typography, spacing, borders, opacity, and shadows in Fluent Next themes. Our Design System defines size variables in rem units for improved adaptivity.
Design System CSS variables are appropriate for the following usage scenarios:
- App-wide styles: Override design tokens to apply company-specific colors, typography, or spacing across your application.
- Area-specific styles: Scope overrides to individual containers or components (for instance, to highlight a warning panel).
- Custom element styles: Use Design System variables in your CSS rules to match DevExtreme components and ensure consistent look and feel across your app.
- Cross-product styles: Maintain consistent appearance across projects powered by DevExpress Blazor controls and DevExtreme components (Blazor Fluent themes are also based on the DevExpress Design System).
#Fluent Next — Accent Colors
You can apply one of 11 predefined accent colors or a custom accent color to any Fluent Next theme variation (light/dark, standard/compact).
Usage scenarios include:
- Brand-specific color schemes: Apply your brand's accent color to DevExtreme components.
- User-selectable color schemes: Allow users to change an accent color at runtime.
To use a predefined accent color, import the corresponding CSS file after the Fluent Next stylesheet. To specify a custom accent color, assign it to the --dx-accent-color CSS variable or pass it to the new customAccentColor(color) method. Fluent Next calculates all primary shades from this color.
- Predefined Accent
- Custom Accent (CSS)
- Custom Accent (JavaScript)
import 'devextreme/dist/css/dx.fluent-next.blue.light.css';
import 'devextreme/dist/css/accents/rose.css';
:root {
--dx-accent-color: SlateBlue;
}
import { customAccentColor } from 'devextreme/ui/themes';
customAccentColor('#6b4fbb');
#Fluent Next — Light/Dark Color Schemes
Each theme stylesheet includes both light and dark mode styles. As such, you can switch between them without loading additional CSS files. Theme mode classes allow you to apply a different mode to individual containers (for instance, to display a dark sidebar in a light mode app).
AI-powered Extensions
#DataGrid — Semantic Search
We created an example that incorporates AI-powered semantic search into the DevExtreme DataGrid. Unlike traditional keyword search, semantic search matches records based on meaning rather than exact wording. Users can enter synonyms or generic descriptions (such as "clothing") in the DataGrid search panel to find relevant records.
Usage scenarios include:
- Unprocessed or uncategorized data sets: Semantic search can replace multiple exact-value filters with a single query.
- Large or diverse data sets: Users can locate relevant records without knowing exact terminology, product names, categories, or field values.
- Natural-language queries: Users can locate products by intended use, documents by topic, or customers based on needs/issues.

NOTE: AI models require significant resources to create embeddings. When working with large data sets, generate embeddings on the server to reduce client workload.
Online Demo
#Chat — Tool Call Visualization
DevExtreme Chat can now display AI tool call details within the associated message. AI agents can invoke functions or external APIs to retrieve data or execute actions. Users can review tools used, their arguments, and results.
Usage scenarios include:
- Transparency: Users can review how AI arrived at its answer and identify the data sources it used.
- Debugging: Developers can inspect arguments and results to troubleshoot agent behavior.
- Error handling: Users can see when a tool fails and retry/rephrase their request.

Our new toolCalls option allows you to display tool calls within a message. For each tool call, you can specify the name, arguments, result, and status (success or error). DevExtreme Chat renders tool calls above message text as collapsible panels labeled with tool names. Users can expand each panel to review arguments and results. Error tags identify failed calls. For multiple calls, our Chat component displays total tool count and the number of failures.
Use the new toolCallOptions property to configure tool call behavior:
expandAll: Initially expands all tool call panels. You can also expand individual tool calls using the expanded property.showInMessageTemplate: Displays the built-in tool calls section inside messages with custom content (defined within a message template).
Scheduler — Multilevel Resource Grouping
DevExtreme Scheduler now supports multilevel resource grouping. Use it to organize resources into a parent-child hierarchy. For instance, you can group employees by assigned room and view each employee's schedule within that room.

Usage scenarios include:
- Resource allocation: Group staff by department, team, or location to plan workloads across an organization.
- Facility management: Group equipment/workspaces by building or floor to track bookings at each level.
- Multi-site scheduling: Group doctors by clinic, teachers by school, or staff by region to review schedules for each site.
To set up the hierarchy, add parent and child records to a resource's data source. Then use the new parentIdExpr property to link each child record to its parent. Multilevel grouping supports both vertical and horizontal group orientations.
You can also customize an appointment edit form to match the resource hierarchy. For instance, users can first select a room and then assign one or more employees from that room to an appointment.
Online Demo
Map — New OpenStreetMap (OSM) Provider
You can now connect the DevExtreme Map to tile, geocoding, and routing services that use OpenStreetMap (OSM). Our new OSM provider supports core Map functionality (such as markers, routes, and tooltips).
OSM provider capabilities include:
- Lower mapping costs: Use OSM-based services as a cost-effective alternative to Azure Maps or Google Maps.
- Custom map styles: Display tiles that match your app design (for instance, Stadia Maps and Thunderforest offer multiple map styles).
- Control over mapping infrastructure: Choose third-party services or self-hosted solutions to meet your application's functional, security, and deployment requirements. For instance, you can configure multiple tile servers for different map types (roadmap/satellite/hybrid) or multiple routing services for different transportation modes (driving/cycling/walking).
- Map customization: You can restrict the visible map area, limit zoom levels, create interactive tooltips with buttons, and more.
To use OpenStreetMap, set provider to "osm" and configure the following new providerConfig properties:
- tileServer: Specifies a common tile source for all map types or individual sources for each type.
- calculateLocation: Converts addresses to coordinates (for instance, using a geocoding service).
- calculateRoute: Calculates route geometry (for instance, using a routing service or predefined coordinates).
NOTE: The OSM provider does not include tile, geocoding, or routing services. Configure these services separately to address requirements and review their terms of use (for instance, the Tile Usage Policy for public OpenStreetMap tile servers).
DevExtreme Map uses the open-source OpenLayers library to display OpenStreetMap data. DevExtreme does not bundle this library or declare it as a dependency, so only applications that use the OSM provider load OpenLayers. Refer to the following help topic for additional information: OpenStreetMap Provider.
Online Demo
Globalization — Separate Text and Date/Number Locales
With v26.2, you can use separate locales for UI text and data formatting. UI text follows the current application locale, while dates, times, and numbers can use a different locale. This capability extends the global formatting properties introduced in v26.1 to define default formats across components (dateFormat, timeFormat, dateTimeFormat, numberFormat).
Usage scenarios include:
- Multilingual apps: Allow users to switch the UI language while preserving date/number formats.
- User-preferred formats: Allow users to choose date/number formats independent of UI language.
Use the new locale field in global format properties to specify a locale for default formats. The following code snippet configures locales to display German text, en-CA dates, and en-US numbers:
DevExpress.localization.locale('de');
DevExpress.config({
dateFormat: {
default: {
locale: 'en-CA',
},
},
numberFormat: {
default: {
locale: 'en-US',
},
},
});
In addition, you can assign a locale to a predefined date/time format (such as longDate) across all components. Override this format in dateTimeFormatPresets and set its locale field.
Individual components can also use their own locales for date/time/number formats. Specify locale in a component's format property (for instance, DateBox displayFormat) to format component values independent of global settings.
Refer to the following help topic for additional information: Use Different Locales for Value Formats and UI Text.
Accessibility Enhancements
#PivotGrid — Accessibility Enhancements
DevExtreme v26.2 extends keyboard navigation and screen reader support in both our PivotGrid and PivotGridFieldChooser.
Both components support the following keyboard shortcuts:
- Tab / Shift+Tab: Moves focus to the next/previous area (column headers, row headers, the data area, field areas, or the toolbar).
- Arrow keys: Moves focus between header cells or area fields.
- Enter / Space: Expands/collapses the focused header cell or toggles the focused field's sort order.
- Alt+Down Arrow (Option+Down Arrow on macOS): Opens the header filter for the focused field.
- Shift+F10: Opens the context menu for the focused header cell/field.
- Esc: Closes the integrated Field Chooser and returns focus to the Field Chooser button.
DevExtreme PivotGrid now includes ARIA grid roles and attributes. Screen readers can associate data cells with their row/column headers and announce cell positions. They also announce header cell state (expanded/collapsed), field sort order, and applied header filters.
Header cells, fields, and toolbar buttons display focus outlines. Field areas also use higher-contrast text in Fluent and Material themes.
For a complete list of keyboard shortcuts, refer to the following help topics: PivotGrid — Accessibility and PivotGridFieldChooser — Accessibility.
#Toolbar — New Keyboard Navigation Behavior
The DevExtreme Toolbar now supports keyboard navigation that follows the WAI-ARIA Authoring Practices (APG) Toolbar pattern.

The Toolbar has a single Tab stop and supports the following keyboard shortcuts:
- Tab / Shift+Tab: Moves focus into/out of the Toolbar.
- Arrow keys: Moves focus between items.
- Up Arrow / Down Arrow: Moves focus between items in the overflow menu and within ButtonGroups.
- Home / End: Moves focus to the first/last item.
- Enter / Space: Activates the focused item.
When users return to the Toolbar, it restores focus to the last used item.
The new behavior also applies to toolbars embedded into other UI components:
- DevExtreme DataGrid, TreeList, CardView, Scheduler, HTML Editor, Diagram, FileManager, and Gantt
- DevExpress ASP.NET Core Rich Text Editor and Spreadsheet controls
You can restore the previous behavior in standalone Toolbar components. Refer to the following help topic for additional information: Toolbar — Accessibility.
Online Demo
#HTML Editor — Keyboard Navigation Enhancements
DevExtreme HTML Editor now conforms to WCAG Success Criterion 2.1.2 (No Keyboard Trap). You can use the following shortcuts to move focus out of the editing area:
- Ctrl+Shift+Down Arrow: Moves focus to the next focusable element outside the HTML Editor.
- Ctrl+Shift+Up Arrow: Moves focus to the toolbar (or to the previous focusable element if the toolbar is disabled).
Tab / Shift+Tab no longer insert tab characters into text. These shortcuts change the indent level within lists, block quotes, and code blocks or move focus to the next/previous focusable element in other contexts.
To revert to the previous behavior, refer to the following help topic: HTML Editor — Accessibility.
Online Demo
#Improved Color Contrast in Fluent Next Themes
Our Fluent Next themes increase color contrast in SVG-based components (such as charts and gauges). These enhancements help users with vision impairments read values in DevExtreme-powered data visualization apps.
SVG-based components now use higher-contrast colors for axis labels, scale labels, and other text. Tooltips and annotations use inverted background colors (dark in light mode and light in dark mode) to stand out against component backgrounds.
Refer to the following help topic for additional information: SVG-Based Component Colors.
Angular
#Zoneless Angular Support
You can now use DevExtreme Angular components in zoneless apps without additional configuration. Our Angular demos also run without zone.js. DevExtreme CLI now generates zoneless Angular projects by default (like the Angular CLI).
NOTE: No changes are required for zone-based apps that use DevExtreme components.
Zoneless support offers the following benefits:
- Simpler setup for new projects: Avoid adding
zone.js to DevExtreme-based apps. - Better performance: Avoid unnecessary change detection cycles. This is especially useful in complex/data-intensive applications, frequently updated data, or large component trees.
- More predictable change detection: Angular updates the view in response to explicit change notifications rather than tracking asynchronous operations across the application. This approach works naturally with Angular Signals.
- Reduced overhead for existing projects: Remove the
zone.js dependency to reduce the amount of JavaScript your application needs to download/execute.
In zoneless apps, DevExtreme components send change notifications in response to component events or property changes. Event bindings, two-way bindings (to signals or class fields), and output subscriptions work without code changes.
NOTE: Angular does not update views when asynchronous code or callback functions (such as onClick handlers in nested components) change class fields. To update a view, store data in signals or call ChangeDetectorRef.markForCheck().
Refer to the following help topic for additional information: Zoneless Change Detection.
#Angular 20 — End of Support
Angular 20 is no longer supported. As such, DevExtreme v26.2 only supports Angular versions 21+.
ASP.NET Core
#.NET 11 Support
DevExtreme-based ASP.NET Core controls now support .NET 11.
#Minimum Supported .NET and Visual Studio Versions
.NET 8 and .NET 9 reached End of Support on November 10, 2026. The minimum supported versions for DevExtreme-based ASP.NET Core controls are .NET 10 and Visual Studio 2026.
#DevExpress Project Converter — Support for DevExtreme-Based ASP.NET Core
Our Project Converter can now upgrade DevExtreme-based ASP.NET Core and ASP.NET MVC projects. For ASP.NET Core projects, the converter updates the following packages:
DevExtreme.AspNet.Core NuGet package- DevExtreme npm packages in
package.json (devextreme, devextreme-dist, and related packages such as devextreme-aspnet-data)
NOTE: Project Converter does not modify package lock files (such as package-lock.json). Install updated npm dependencies and manually update your package lock files.
The converter simplifies upgrades for the following usage scenarios:
- DevExpress-powered .NET applications: Upgrade your projects with a few clicks.
- Solutions with DevExtreme-based ASP.NET Core and other DevExpress projects: Upgrade all projects in a single run.
- Projects developed outside Visual Studio: Run the converter as a standalone app or from the command line.
.NET Version Upgrade
Project Converter re-targets DevExtreme-based ASP.NET Core projects to .NET 10 (the minimum supported .NET version in v26.2). Before conversion, the converter lists these projects and displays the following options:
- Update Target Framework: Updates
TargetFramework / TargetFrameworks settings in project files. - Update 3rd-party Packages: Updates third-party NuGet packages (such as
Microsoft.EntityFrameworkCore) to the latest versions compatible with the target framework.
To complete the .NET 10 migration, you may need to update code and other dependencies manually (see Breaking changes in .NET 10).
Client Resources Update
Our new Update DevExtreme Client Resources option allows you to update local copies of DevExtreme scripts and styles in your ASP.NET Core projects. You can enable it in Advanced Settings or in the console application (/devextreme:copyres). Once activated, the Project Converter copies scripts/styles from your local DevExpress installation to wwwroot/js/devextreme and wwwroot/css/devextreme folders.
Project Converter in Visual Studio
When you open a solution in Visual Studio, Project Converter offers to upgrade DevExtreme-based ASP.NET Core projects that use outdated DevExtreme versions.
Project Converter as Console App
You can also run Project Converter as a console application (ProjectConverter-console.exe). Use /noautoupdatepkg parameter to skip third-party package updates, or add /noautoupdate to skip both target framework and third-party package updates.
For additional information, refer to the following help topic: Upgrade to a New Version.
.NET 11 Support
DevExpress Blazor UI v26.2 supports .NET 11. We will also add .NET 11 support for v26.1 in an upcoming minor release.
.NET 10 and Visual Studio 2026 — Minimally Supported Versions
Learn more about this global change in the following breaking change announcement: .NET 10 and Visual Studio 2026 are now minimum supported versions for .NET/.NET Core-based DevExpress product libraries.
The DevExpress Project Converter simplifies migration: it automatically re-targets your Blazor projects to .NET 10 and updates DevExpress and third-party project references, packages, and configurations.

Documentation
RTL Support (CTP)
DevExpress Blazor UI v26.2 ships with right-to-left (RTL) language (such as Arabic and Hebrew) support when using our Fluent themes. RTL mode is available in all Blazor components, except our Blazor Rich Text Editor.
RTL support is available as a Community Technology Preview (CTP) in our v26.2 release cycle. We encourage you to try RTL in your solutions and share your feedback with us as we refine our implementation prior to official release (set for 2027).
RTL mode impacts the following:
- Layout — DevExpress Blazor components arrange UI elements from right to left. Drop-downs, menus, and submenus open in a mirrored direction.
- Keyboard navigation — Arrow keys follow the mirrored layout.
- Built-in icons — Blazor components mirror directional icons (such as arrows and chevrons).
- Data export — Documents exported from Grid and TreeList use RTL layout.
#Application-Wide RTL Mode
Set the <html> element's dir attribute to rtl to switch your app to an RTL layout:
<!DOCTYPE html>
<html lang="ar" dir="rtl">
@* ... *@
</html>
DevExpress Blazor components detect this setting automatically (including Reporting components). You do not need to set dedicated RTL options for JavaScript-based Reporting components (such as DxReportDesigner.RightToLeft).
#Culture-Based Layout Direction
You can also set layout direction based on the current culture. The following code snippet uses TextInfo.IsRightToLeft to set dir and assigns the current culture name to the lang attribute:
@using System.Globalization
<html lang="@CultureInfo.CurrentUICulture.Name"
dir="@(CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft ? "rtl" : "ltr")">
@* ... *@
</html>
For additional information on application culture, refer to the following help topic: Localization.
#Bidirectional Text
DevExpress Blazor AI Chat and Masked Data Editors use dir="auto" to display content that must remain left-to-right (numbers, email addresses, URLs, or English text) when using RTL layouts. With dir="auto", the browser determines text direction from the first strongly directional character. Other DevExpress Blazor components inherit app specific text direction.
Browsers can misplace punctuation in mixed-direction text. For instance, a period at the end of an English sentence in an RTL editor may appear to the left of the text (because punctuation marks have neutral direction). To prevent this, override text direction for individual elements using the dir attribute. Blazor Data Editors automatically pass this attribute to the underlying input element (including editors used in Grid and TreeList columns).
Set dir="ltr" for English-only content and use dir="auto" for mixed content:
@* English-only content *@
<DxMemo @bind-Text="@Notes" dir="ltr" />
@* Mixed Arabic and English content *@
<DxMemo @bind-Text="@Comment" dir="auto" />

DateTimeOffset Support
DevExpress Blazor UI components can now convert DateTimeOffset values to the target time zone (for display, filtering, and grouping purposes) while preserving original offsets. The following components support time zones:
- Calendar
- Date Edit
- Date Range Picker
- Grid
- Filter Builder
- Masked Input
- Pivot Table
- Time Edit
- TreeList
Time zone conversion may change the calendar date. For instance, DevExpress Blazor Grid displays 2026-06-15T01:00:00+03:00 as June 14 when the target time zone is UTC. This behavior ensures that cell values remain consistent with data shaping results.
#Configure Time Zones
Call the SetTimeZone method to specify the target time zone. You can use a specific time zone, server time zone, or the browser's time zone:
// Use Berlin's time zone
builder.Services.AddDevExpressBlazor(options =>
options.SetTimeZone(TimeZoneInfo.FindSystemTimeZoneById("Europe/Berlin")));
// Use server time zone
builder.Services.AddDevExpressBlazor(options => options.SetTimeZone(DxTimeZoneInfo.Server));
// Use the browser's time zone
builder.Services.AddDevExpressBlazor(options => options.SetTimeZone(DxTimeZoneInfo.Browser));
If you do not explicitly configure the time zone, DevExpress Blazor Data Editors use the browser's time zone, while our Grid and TreeList UI components use server time zone (the same behavior available in v26.1). We expect to introduce a consistent default time zone across all DevExpress Blazor UI components in a future release.
Your feedback matters.
Share your thoughts about DateTimeOffset support in this short survey.
Please
login to complete the survey.
Survey Completed
Thank you for taking the time to complete this survey. Your responses have now been posted. If you want to follow up with additional information, feel free to send us an email at clientservices@devexpress.com anytime.
You've Already Completed This Survey
Our records show that you have already completed this survey. If you want to follow up with additional information, send us an email at clientservices@devexpress.com.
This survey has expired
If you want to share your feedback or request new functionality, please submit a new support ticket via the DevExpress Support Center. We’ll be happy to follow up.
#Cache the Browser Time Zone
In Browser mode, you can store the browser's time zone in a cookie on first load. Implement the new IBrowserTimeZoneProvider interface to retrieve the cached value on subsequent loads and avoid unnecessary re-render operations.
The following code snippets store the browser's time zone in a cookie and use a custom provider to retrieve it.
Program.cs:
builder.Services.AddDevExpressBlazor(options => options.SetTimeZone(DxTimeZoneInfo.Browser));
builder.Services.AddHttpContextAccessor();
builder.Services.AddScoped<IBrowserTimeZoneProvider, CookieBrowserTimeZoneProvider>();
sealed class CookieBrowserTimeZoneProvider : IBrowserTimeZoneProvider {
readonly IHttpContextAccessor accessor;
public CookieBrowserTimeZoneProvider(IHttpContextAccessor accessor) { this.accessor = accessor; }
public TimeZoneInfo GetBrowserTimeZone() {
string id = accessor.HttpContext?.Request.Cookies["tz"];
if(string.IsNullOrEmpty(id) || id.Length > 64 || id.Contains('\\') || id.Contains("//"))
return null;
return TimeZoneInfo.TryFindSystemTimeZoneById(id, out TimeZoneInfo zone) ? zone : null;
}
}
App.razor:
<script>
document.cookie = "tz=" + Intl.DateTimeFormat().resolvedOptions().timeZone + "; Path=/;";
</script>
Blazor Icon Library — Official Release
The DevExpress Blazor Icon Library is now ready for production use. We finalized APIs/behaviors and implemented the following new features and enhancements.
#Expanded Icon Collection
We reworked the Icon Library's structure and grouped icons by the following attributes:
| Attribute | Available Options |
| Set | Fluent Blazor Classic Desktop Classic |
| Palette | Neutral (uses currentColor only) Colored (uses one or more colors in addition to currentColor) |
| Size | 12, 16, 20, 24, 32, 48 |
We expanded the Fluent icon set with 400+ icon metaphors that were previously available only in our Desktop Classic set. The library now contains over 2,500 metaphors (~14,000 icon variants).
#Flexible Icon API
We extended our icon API so you can specify any combination of icon parameters (set, palette, and size). The API determines unspecified values based on current theme and size mode.
@using DevExpress.Images.Blazor
@* finds the most appropriate Delete icon for the current theme / size mode *@
<DxButton IconUrl="@Icons.Delete" />
@* same as above, but ensures that the colored icon palette is used *@
<DxButton IconUrl="@Icons.Delete.PaletteColored" />
@* looks for the Fluent icon regardless of the current theme *@
<DxButton IconUrl="@Icons.Delete.SetFluent.PaletteColored" />
If the DevExpress Icon Library does not include the specified icon, the component renders an empty space. Use the Icon Explorer demo to browse available icon variants.
#Icon Library Support Across the Suite
You can use Library icons across all DevExpress Blazor components with user-defined icon support. We added an IconUrl parameter to the following components and UI elements:
We also improved icon API consistency across DevExpress Blazor components. You can set the IconUrl parameter to specify an icon and use IconCssClass to customize icon appearance (such as color or size).
@using DevExpress.Images.Blazor
<DxButton RenderStyle="@ButtonRenderStyle.Secondary"
Text="Accept"
IconUrl="@Icons.CheckmarkCircle.PaletteNeutral"
IconCssClass="color-green" />
<DxButton RenderStyle="@ButtonRenderStyle.Secondary"
Text="Cancel"
IconUrl="@Icons.Cancel.PaletteNeutral"
IconCssClass="color-yellow" />
.color-green {
color: var(--dxds-icon-color-green);
}
.color-yellow {
color: var(--dxds-icon-color-yellow);
}
Public CSS Variable Rework
We reworked public --dxds-* CSS variables in our Fluent theme to introduce clearer, more consistent, and purpose-driven names and prepare the design system for future themes (such as Material).
You can override these variables to restyle DevExpress components, or reference them in your own CSS to align custom styles with the Fluent theme.
#Expanded Palette Scales
We expanded Fluent theme color palettes as follows:
- Primary, Secondary, Info, Success, Warning, Danger: from 17 to 18 steps.
- Neutral: from 25 to 28 steps.
- Utility: from 12 to 18 steps.

Updated color palettes offer more flexibility when styling component backgrounds, borders, text, and other UI elements.
Theme Palettes
Utility Palettes
#Role-Based Names
All color variables now use the following naming pattern (parameters always appear in this order):
--dxds-color-{category}-{semantic role}-{level}-{context}-{shared}-{alpha}-{mode}-{state}
The color prefix and a category (bg, content, border, or shadow) parameter are required, while other parameters are optional. The following table compares old and new variable names:
| Old Variable | New Variable | Description |
--dxds-color-surface-neutral-default-rest | --dxds-color-bg | Default background for components |
--dxds-color-content-neutral-default-rest | --dxds-color-content | Default content color |
--dxds-color-surface-neutral-subdued-rest | --dxds-color-bg-canvas | Application background behind content surfaces |
--dxds-color-border-neutral-subdued-rest | --dxds-color-border-subtle | Subtle border color |
--dxds-color-surface-primary-default-rest | --dxds-color-bg-primary | Primary background color |
--dxds-color-surface-primary-subdued-rest | --dxds-color-bg-primary-subtle | Subtle primary background color |
--dxds-color-surface-neutral-deep-rest | --dxds-color-bg-low | Background color for surfaces visually lower than the base level (navigation bars) |
--dxds-color-surface-utility-green-subdued-rest | --dxds-color-bg-green-subtle | Subtle green background color |
--dxds-color-content-utility-green-subdued-on-surface-rest | --dxds-color-content-on-subtle-green | Content color on a --dxds-color-bg-green-subtle background |
We also added new variables for surface and content categories. For instance:
| New Variable | Description |
--dxds-color-bg-high | Background color for surfaces visually higher than the base level (badges, alternating rows, and chat bubbles) |
--dxds-color-content-on-primary | Content color on a --dxds-color-bg-primary background |
--dxds-color-content-on-subtle-primary | Content color on a --dxds-color-bg-primary-subtle background |
#Automatic Migration
When you upgrade to v26.2, run the DevExpress Project Converter to update CSS variables to the new form automatically.
Accessibility Enhancements
#General Enhancements
- Improved screen reader support for Grid templates, Toolbar templates, the Scheduler's Repeat dialog, Close buttons within Tabs, and rollers within Date Edit and Time Edit.
- Added required attributes to elements within DevExpress Blazor AI Chat, Date Edit, Drop-Down Button, File Input, Menu, Search Box, Time Edit, and Upload UI components.
- Introduced proper accessible roles in our Calendar, Date Edit, Time Edit, Grid, and TreeList UI components.
- Improved focus management in Blazor Date Edit, Drop-Down Button, Grid, Masked Input, Pager, Pivot Table, and TreeList UI components.
- Improved contrast for our Toast component and disabled/selected states of List Box items.
- Added the Attributes property for Blazor Context Menu in bound mode.
- Users can now expand/collapse TreeList nodes on
Enter.
#Grid and TreeList Accessible Roles
The DevExpress Blazor Grid component v26.2 dynamically switches between grid and treegrid roles (treegrid is used when data is grouped or the component contains detail rows). Our Blazor TreeList component always uses the treegrid role. These roles offer more accurate context to screen readers:
- Screen readers announce component size and cell/row position within the hierarchy (even when paging/virtualization is enabled).
- In virtual scrolling mode, the table reports the total number of rows/columns in the entire data set (rather than the current page).
- When detail rows are configured, each data row reserves an index for its detail row. As a result, row indexes remain unchanged when users expand/collapse detail rows.
- Grouped rows and TreeList nodes announce hierarchy level and position among siblings, along with expanded/collapsed state info.
- When selection is available, screen readers announce row selection state and indicate whether users can select multiple rows. Components omit selection-related attributes if row selection is disabled.
- aria-label and aria-labelledby attributes are now applied to the table element that defines component role.
- Data cells no longer have an explicit role. The browser assigns cell roles automatically.
- To help users focus on meaningful content, the accessibility tree no longer includes layout and virtualization elements that do not contain data.
New Blazor App Bar
The DevExpress Blazor App Bar component combines application branding, top-level navigation, and application actions in and across a single unified bar.

Our Blazor App Bar ships with the following features/capabilities:
- A built-in search box.
- A hamburger button that allows you to implement primary navigation within the application.
- A title area that can display text, image, or custom content.
- Standard action items with text or icons. You can also nest items to create a drop-down menu.
- An avatar item (with a dropdown) designed to display an image, initials, or fallback icon.
- Customization options for individual App Bar elements or the entire component.
-
Built-in adaptivity. The Blazor App Bar moves items to an overflow menu when space is limited. The search box automatically expands/shrinks within specified width limits.

<DxAppBar>
<DxAppBarTitle Text="DevExpress" />
<DxAppBarSearchBox />
<DxAppBarItems>
<DxAppBarItem IconUrl="@Icons.AddCircle"/>
<DxAppBarItem IconUrl="@Icons.Bookmark" />
<DxAppBarItem IconUrl="@Icons.Chat" BeginGroup="true"/>
<DxAppBarItem IconUrl="@Icons.Alert" />
</DxAppBarItems>
<DxAppBarAvatar ImageUrl="@(StaticAssetUtils.GetEmployeeImagePath(10))"
ImageAltText="Anne Dodsworth"
Tooltip="Anne Dodsworth" />
</DxAppBar>
Documentation
New Blazor Side Bar
The DevExpress Blazor Side Bar component displays a vertically oriented icon-based navigation strip that allows users to switch between app modules.

Our Blazor Side Bar ships with the following features/capabilities:
<DxSideBar>
<DxSideBarItem Text="Home" IconUrl="@Icons.Home" NavigateUrl="/" />
<DxSideBarItem Text="Customers" IconUrl="@Icons.UserGroup" NavigateUrl="customers" BeginGroup="true" />
<DxSideBarItem Text="Orders" IconUrl="@Icons.DocumentCart" NavigateUrl="orders" />
<DxSideBarItem Text="Reports" IconUrl="@Icons.Report" NavigateUrl="reports" AdaptivePriority="1" />
<DxSideBarItem Text="Settings" IconUrl="@Icons.SettingsGear" NavigateUrl="settings"
Alignment="SideBarItemAlignment.Bottom" />
</DxSideBar>
Documentation
#Adaptivity
When vertical space is limited, DevExpress Blazor Side Bar moves items to an overflow menu and displays a More items… button. Click the button to view hidden items. On mobile devices, the overflow menu opens in a modal window at the bottom of the screen.
The Side Bar never hides the selected item, so users always see the active app module. Bottom-aligned items (such as Help or Settings) also remain visible.
You can specify item overflow priority and item text in the overflow menu.

Documentation
#Two-Level Navigation
You can combine our Side Bar with DevExpress Blazor Drawer and TreeView components to build two-level navigation. The Side Bar displays app modules, while the TreeView within the Drawer panel lists pages for the selected module. Handle the Side Bar's SelectionChanged event to update the page list.

Documentation
Blazor AI Chat
#Agentic UI
The DevExpress Blazor AI Chat component now includes built-in agentic UI elements (no additional setup required). The Blazor AI Chat displays reasoning content and tool call details. For human-in-the-loop (HITL) usage scenarios, AI Chat displays approval cards and pauses workflow until a user approves/rejects tool calls.
Our new demos connect the DevExpress Blazor AI Chat component to agent servers through the AG-UI (Agent-User Interaction) protocol and illustrate the following usage scenarios:
- AG-UI Server-Side Tools — An agent uses tools to manage orders (list them, open order details, and delete orders). The demo displays tool results interactively (using a DevExpress Blazor Grid or order cards). Users can click an order ID or delete a grid row to send follow-up requests to the agent.
- AG-UI Human-in-the-Loop — An agent prepares a purchase order and pauses for user review. The workflow resumes after the user approves/rejects the order.
#Reasoning Visualization
DevExpress Blazor AI Chat automatically displays reasoning content from supported AI models. Users can review how the model produced a response, verify that the model followed required steps, and identify potential errors before acting on the response.
Our Blazor AI Chat component displays both reasoning content and tool call details when the response includes them. Use our new VisibleContentType property to hide unnecessary UI elements.
The following code snippet hides reasoning content and displays tool call details:
@using DevExpress.AIIntegration.Chat
<DxAIChat VisibleContentType="~AIChatVisibleContentTypes.Reasoning" />
Use the ReasoningContentTemplate property to customize text in the built-in reasoning section. To create a custom message layout, use the MessageContentTemplate.
Documentation
#Tool Approval Visualization
We added a built-in confirmation interface for human-in-the-loop tool calls in DevExpress Blazor AI Chat. When an agent calls an ApprovalRequiredAIFunction, Blazor AI Chat automatically renders an approval card. Users can review and approve/reject an operation before execution (for instance, before an AI agent updates a CRM record or sends a marketing email).
If an AI model requests multiple tool calls simultaneously, our AI Chat displays approval cards one by one and indicates the card's position (for instance, 1/3). After the user approves/rejects the last request, AI Chat sends all decisions in a single batch.
Use the AlwaysApproveButtonVisible property to add Approve once and Approve always subcommands. If users select Approve always, DevExpress Blazor AI Chat automatically approves further calls to the same tool until the chat history is cleared/reloaded.
<DxAIChat AlwaysApproveButtonVisible="true" />
Set the ToolApprovalResponseMode property to AlwaysApprove/AlwaysReject to approve/reject tool calls without user interactions:
@using DevExpress.AIIntegration.Chat
<DxAIChat ToolApprovalResponseMode="AIChatToolApprovalResponseMode.AlwaysApprove" />
You can replace the built-in approval card with custom UI elements using the ToolApprovalContentTemplate. To make decisions in code, obtain AIChatToolApprovalRequest objects from the BlazorChatMessage.ToolApprovalRequests collection and call the ApproveRequestAsync, AlwaysApproveRequestAsync, or RejectRequestAsync method.
Documentation
#Pre-Attached Resources
Our new AttachResourcesAsync method allows you to pre-attach text or binary resources to DevExpress Blazor AI Chat as context for new chat sessions. Pre-attached resources appear in the chat input area alongside manually selected items. Users can add more resources via the picker or file upload.
<DxAIChat Initialized="ChatInitialized" />
@code {
void ChatInitialized(IAIChat chat) {
var faq = new AIChatResource("faq.md", "Support FAQ",
"Q: How do I reset my password? A: Click Forgot Password on the sign-in page.",
"text/markdown");
_ = chat.AttachResourcesAsync([faq]);
}
}
Handle the ContextsChanged event to track resource attachment changes.
#Clear History API
You can now clear DevExpress Blazor AI Chat history from code using the new ClearMessages method. Use it to replace the built-in header button with a custom Clear button placed anywhere in your UI.
Blazor Grid & TreeList
#Built-in Toolbar Items
We added the following built-in toolbar items to our Blazor Grid and TreeList components:
- Export buttons (CSV, PDF, XLS, and XLSX)
- CRUD buttons (Edit, Delete, Save, Cancel)
- Column Chooser
- Filter Builder
- Search Box

Add these items to the Grid or TreeList toolbar to keep commands in one location. Once added, you can remove the command column and separate search box row to save space.
Customization options include:
- Position and alignment of toolbar items.
- Enabled, Visible, Tooltip, and Render Style properties.
<DxGrid Data="Data"
EditModelSaving="Grid_EditModelSaving"
CustomizeEditModel="Grid_CustomizeEditModel"
DataItemDeleting="Grid_DataItemDeleting">
<ToolbarTemplate>
<DxToolbar ItemRenderStyleMode="ToolbarRenderStyleMode.Plain">
<DxToolbarItem Text="New" Click="NewItem_Click" IconCssClass="grid-toolbar-new" />
<DxGridEditRowToolbarItem />
<DxGridDeleteRowToolbarItem />
<DxGridColumnChooserToolbarItem BeginGroup="true" />
<DxToolbarItem Text="Export" IconCssClass="grid-toolbar-export">
<Items>
<DxGridExportToCsvToolbarItem Text="To CSV" FileName="ExportResult" />
<DxGridExportToXlsxToolbarItem Text="To XLSX" FileName="ExportResult" />
<DxGridExportToXlsToolbarItem Text="To XLS" FileName="ExportResult" />
<DxGridExportToPdfToolbarItem Text="To PDF" FileName="ExportResult" />
</Items>
</DxToolbarItem>
<DxGridSearchBoxToolbarItem BeginGroup="true" Alignment="ToolbarItemAlignment.Right" />
</DxToolbar>
</ToolbarTemplate>
<Columns>
@* ... *@
</Columns>
</DxGrid>
Use our new ShowToolbar property to hide the toolbar area entirely.
Documentation: Grid
Documentation: TreeList
#Striped Rows
DevExpress Blazor Grid and TreeList support alternating (striped) row styles. Enable the AlternatingRowStyleEnabled option to improve readability in data-dense layouts.
#Custom Row Height
Both the DevExpress Blazor Grid and TreeList v26.2 include a new RowMinHeight property. Use this property to specify minimum row height (data, group, detail, filter, and edit), group footers, and the component footer. Increase or decrease the property value to modify row spacing/density.
#Exclude Elements from Tab Navigation
You can now use the tabindex attribute to exclude focusable elements from Tab navigation in both the DevExpress Blazor Grid and TreeList. Users can navigate to excluded elements using arrow keys and other keyboard shortcuts.
void Grid_CustomizeElement(GridCustomizeElementEventArgs e) {
if (e.ElementType == GridElementType.HeaderCell || e.ElementType == GridElementType.FooterCell) {
e.Attributes["tabindex"] = "-1";
}
}
#Edit Row Enhancements
Our StartEdit* methods allow you to focus a specific editor within the inline edit row (when using EditRow mode). Use these methods to initiate row editing from the clicked cell, add custom context menu commands, or restore editor focus after a page reload.
The following code snippet initiates row editing with a double-click:
<DxGrid Data="GridData" EditMode="GridEditMode.EditRow" RowDoubleClick="OnRowDoubleClick" ...>
<Columns>
<DxGridCommandColumn />
<DxGridDataColumn FieldName="FirstName" />
<DxGridDataColumn FieldName="LastName" />
<DxGridDataColumn FieldName="Title" />
<DxGridDataColumn FieldName="HireDate" />
</Columns>
</DxGrid>
@code {
async Task OnRowDoubleClick(GridRowClickEventArgs e) {
if(e.Column is IGridDataColumn column)
await e.Grid.StartEditRowAsync(e.VisibleIndex, column.FieldName);
}
// ...
}
#Loading Indicator for Export Operations
Our Blazor Grid and Blazor TreeList UI components automatically display a loading panel when an export operation exceeds 0.5 seconds. This behavior applies to all data sources, including Server Mode and in-memory data binding. The loading panel is particularly useful in WebAssembly (WASM) applications, where export operations can take longer to complete.
#Design Enhancements
We aligned the DevExpress Blazor Grid and TreeList with our Figma design (released earlier this year):
- Updated colors for focused row, focus frames, editors, validation results, and hover/selection states.
- Added backgrounds to headers and the group panel.
- Updated validation icons.
- Changed visual state priorities: focus takes precedence over selection, and selection takes precedence over other backgrounds (such as conditional formatting and alternating rows).
#Blazor Grid, TreeList, Filter Builder — Edit Settings Enhancements
We added the following properties for Data Editors used in DevExpress Blazor Grid, Filter Builder, and TreeList components:
Blazor Grid
#Smart Paste Demo
Our new demo incorporates AI-powered Smart Paste into the DevExpress Blazor Grid to simplify/streamline data entry from external sources. Smart Paste parses unstructured text (such as email content or free-form notes) and automatically populates data fields with extracted values.
Blazor Charts — UI/UX Enhancements
#Tooltips
DevExpress Blazor Chart, Pie Chart, and Polar Chart components now use our Blazor Flyout for tooltips. This new design simplifies tooltip positioning/rendering and ensures that tooltips are displayed correctly beyond component boundaries.
#Custom Legend Icons
Custom icons used for series legend items now match the color of their corresponding chart series (consistent with built-in icons). This visual consistency makes it easier to identify series within a chart pane.
Neutral icons in the DevExpress Icon Library (those that rely on currentColor only) are auto-colored.
<DxChartSeriesLegendItem IconUrl="@Icons.Calendar.PaletteNeutral" />
To apply a series color to icons specified via IconCssClass, set the background-color CSS property to currentColor:
<DxChartSeriesLegendItem IconCssClass="custom-legend-icon" />
.custom-legend-icon {
mask-image: url("../images/calendar.svg");
mask-position: center;
mask-repeat: no-repeat;
background-color: currentColor;
height: 20px;
width: 20px;
}
Blazor Data Editors
#Date Edit, Time Edit — Scroll Picker Enhancements
Min/Max Range Enhancements
DevExpress Blazor Date Edit and Time Edit components now apply MinDate/MaxDate and MinTime/MaxTime constraints as follows:
- Date and time scroll pickers only display values within the specified range.
- Since users can no longer select out-of-range values, editors do not display toast notifications for such values.
<DxDateEdit @bind-Date="@DateTimeValue"
PickerDisplayMode="DatePickerDisplayMode.ScrollPicker"
MinDate="@(new DateTime(2020, 09, 01))"
MaxDate="@(new DateTime(2020, 12, 31))" />
@code {
DateTime DateTimeValue { get; set; } = DateTime.Now;
}

Leading Zeros in Time Scroll Picker
The time scroll picker in the DevExpress Blazor Time Edit and the time section of our Date Edit can now display leading zeros for single-digit hours, minutes, and seconds (for instance, 05 instead of 5). This behavior applies if the current culture's default format or your custom format uses two-digit specifiers (for instance, hh:mm:ss).

To display time values without leading zeros, set the following properties to a custom format that uses single-digit specifiers (for instance, H:m:s):
#Text Box — Password Button
The DevExpress Blazor Text Box can include a button that displays/hides password characters (to help verify values entered within your DevExpress-powered app).

To add a password button, enable the Password property and set the new PasswordButtonDisplayMode property to Always:
<DxTextBox @bind-Text="Password"
Password="true"
PasswordButtonDisplayMode="DataEditorPasswordButtonDisplayMode.Always" />
#UI/UX Enhancements
List Editors — Design Updates
We updated text/background colors used for selected items in our Blazor List Editors (ComboBox, TagBox, List Box) for DevExpress Fluent themes.
Blazor Navigation
#Menu and Context Menu — Submenu Usability Enhancements
DevExpress Blazor Menu and Context Menu components keep submenus open while users move the mouse pointer to nested items.
Menu
The following enhancements apply when the DevExpress Blazor Menu opens submenus on hover (the DropDownActionMode property is set to Hover or to Default in desktop display mode):
- A submenu remains open when a user clicks the parent item.
- When the mouse pointer leaves the Menu, submenus close after a short delay unless the pointer returns.
Context Menu
- The parent item remains highlighted while the submenu is open.
- Submenus close after a short delay, so users can move the mouse pointer to a submenu across other items.
- A right-click inside the Blazor Context Menu does not trigger the browser's context menu.
#Ribbon — Editor Item Captions
Specify the Text property to add a caption for the following Blazor Ribbon editors:
- Color Palette items display the caption between the icon and the drop-down button.
- Combo Box and Spin Editor items display the caption next to the editor. Screen readers use caption text as the editor's accessible name.
<DxRibbon>
<DxRibbonTab Text="Home">
<DxRibbonGroup>
<DxRibbonComboBoxItem Text="Font" Data="Fonts" @bind-Value="CurrentFont" />
<DxRibbonColorPaletteItem Text="Font Color" @bind-Value="CurrentColor" />
<DxRibbonSpinEditItem Text="Rows" @bind-Value="RowCount" Width="100px" />
</DxRibbonGroup>
</DxRibbonTab>
</DxRibbon>
@code {
string[] Fonts = { "Arial", "Segoe UI" };
string CurrentFont = "Arial";
int RowCount = 8;
string CurrentColor = "";
}

When Ribbon width decreases, the component automatically hides editor item captions.
Documentation
Visual Studio 2022 — Minimally Supported Version
Visual Studio 2022 is now the minimum supported IDE for DevExpress .NET Framework-based projects.
Refer to the following breaking change advisory for additional information: .NET 10 and Visual Studio 2026 Are Now Minimum Supported Versions for .NET/.NET Core-Based Projects.
Developer Tool Enhancements
#Simplified DevExpress Menu in Visual Studio
We reworked the DevExpress menu in Visual Studio.
The menu is available if you install DevExpress products using our Unified Component Installer.
Framework, IDE & Platform Updates
#.NET 11 Support
DevExpress Reports fully supports .NET 11.
#.NET 10 and Visual Studio 2026 — Minimum Supported Versions
.NET 8 and .NET 9 reached End of Support on November 10, 2026. The minimum supported versions for .NET/.NET Core-based DevExpress product libraries are now .NET 10 and Visual Studio 2026. Learn more about this change in the following announcement.
The DevExpress Project Converter automatically re-targets your projects to .NET 10 to simplify migration.

Target DevExpress-based Projects to .NET 10 and .NET Framework 4.6.2
#Report Designer Settings in Visual Studio 2026
DevExpress Report Designer options are integrated into the Unified Settings interface in Visual Studio 2026. You can modify these options alongside other Visual Studio settings without opening the Report Designer Options dialog.

The classic Report Designer Options dialog remains available in Visual Studio 2022.
Documentation
#SkiaSharp 4 Migration
DevExpress Drawing and PDF libraries use SkiaSharp 4. This upgrade adds SkiaSharp 4 rendering enhancements and security fixes to DevExpress Reports.
DateTimeOffset Support
DevExpress Reports now fully supports DateTimeOffset values. Our data access components (SqlDataSource, EFDataSource, ObjectDataSource, and JsonDataSource) recognize DateTimeOffset fields, and the Field List in our WinForms, WPF, and Web Report Designers displays them as necessary. Built-in expression functions convert values to the required time zone.
Report creators can bind report controls to DateTimeOffset fields. Filter, group, sort, and sumMin/sumMax operations use absolute time and treat equivalent timestamps as equal. Time-zone-aware data (such as financial transaction logs, audit trails, and event schedules) preserves original offsets.
#Display Values in UTC, Local Time, or a Specific Time Zone
Use the following expression functions in calculated fields or expression bindings to display DateTimeOffset values in the required time zone:
SwitchOffset(Value, Offset) — Changes the value's offset and adjusts date and time to preserve the same point in time.
ToDateTime(Value) — Converts a DateTimeOffset value to DateTime. The result retains the original date and time and drops the offset.
UtcToLocalTime(Value) — Converts a UTC DateTime value to local time. The function uses the time zone that the ITimeZoneProvider service returns. If you do not register this service, the function uses the server's local time zone.
ConvertToTimeZone(Value, TimeZoneId) — Converts a DateTimeOffset value to the specified time zone using the zone's daylight savings time rules.
The following table lists common scenarios:
| Usage Scenario | Expression | When to Use |
| Display UTC time | ToDateTime(SwitchOffset([OrderDate], 0)) | Users in different time zones need a common time reference to compare values. |
| Display the user's local time | UtcToLocalTime(ToDateTime(SwitchOffset([OrderDate], 0))) | Users should see values in their own time zone, regardless of the time zone used by the server or machine that generates the document. To get a user's time zone, register an ITimeZoneProvider service. |
| Display time in a specific time zone | ConvertToTimeZone([OrderDate], 'Tokyo Standard Time') | The report displays values for a specific region (for instance, a branch office), regardless of user location. |
| Display a fixed offset | SwitchOffset([OrderDate], '+09:00') | The offset is known in advance and daylight savings time does not apply. |
To display a DateTimeOffset value with the offset, add the zzz specifier to the control's format string (for instance, {0:yyyy-MM-dd HH:mm zzz}). If an expression returns a DateTime value, the generated document displays it without an offset.
#Filter Data by DateTimeOffset Fields
To filter a report by a DateTimeOffset field, use a calculated field to convert DateTimeOffset values to DateTime, then compare the result with a DateTime report parameter (report parameters do not support DateTimeOffset). The following expression converts values to the user's local time:
UtcToLocalTime(ToDateTime(SwitchOffset([OrderDate], 0)))
Assign this expression to an OrderDateLocal calculated field, then use the field in report filter strings:
[OrderDateLocal] >= ?pFrom And [OrderDateLocal] < ?pTo
The following code snippet creates the calculated field and filters the report by DateTime parameters:
using DevExpress.XtraReports.Parameters;
using DevExpress.XtraReports.UI;
// ...
XtraReport report = new XtraReport1();
CalculatedField orderDateLocal = new CalculatedField() {
Name = "OrderDateLocal",
DataSource = report.DataSource,
DataMember = report.DataMember,
FieldType = FieldType.DateTime,
Expression = "UtcToLocalTime(ToDateTime(SwitchOffset([OrderDate], 0)))"
};
report.CalculatedFields.Add(orderDateLocal);
report.Parameters.Add(new Parameter() { Name = "pFrom", Type = typeof(DateTime), Description = "From:" });
report.Parameters.Add(new Parameter() { Name = "pTo", Type = typeof(DateTime), Description = "To:" });
report.FilterString = "[OrderDateLocal] >= ?pFrom And [OrderDateLocal] < ?pTo";
Imports DevExpress.XtraReports.Parameters
Imports DevExpress.XtraReports.UI
' ...
Dim report As XtraReport = New XtraReport1()
Dim orderDateLocal As New CalculatedField() With {
.Name = "OrderDateLocal",
.DataSource = report.DataSource,
.DataMember = report.DataMember,
.FieldType = FieldType.DateTime,
.Expression = "UtcToLocalTime(ToDateTime(SwitchOffset([OrderDate], 0)))"
}
report.CalculatedFields.Add(orderDateLocal)
report.Parameters.Add(New Parameter() With {.Name = "pFrom", .Type = GetType(DateTime), .Description = "From:"})
report.Parameters.Add(New Parameter() With {.Name = "pTo", .Type = GetType(DateTime), .Description = "To:"})
report.FilterString = "[OrderDateLocal] >= ?pFrom And [OrderDateLocal] < ?pTo"
To filter data on the server, bind a DateTime report parameter to a DateTimeOffset query or stored procedure parameter. In the query parameter expression, call the new ToDateTimeOffset(Value, Offset) function. The function assigns the specified offset to the value and does not shift the time:
ToDateTimeOffset(?pFrom, '+04:00')
You can also set a calculated field type to Date and Time Offset and use ToDateTimeOffset to convert DateTime values in the field expression.
AI Agent Skills
#WinForms and WPF Reports Skills
Our new WinForms and WPF Reports skills are available in the dx-reporting plugin of the DevExpress AI Agent Skills repository. They address desktop-specific details an AI assistant can miss (such as creating a report document before displaying it in the WPF Document Preview). Our skills address the following tasks:
- Report preview (built-in form or viewer control)
- Built-in or embedded End-User Report Designer
- Custom report storage and SQL query validation for report authors
- Toolbar, Ribbon, and Parameters Panel customization
- Subscription requirements (DevExpress Reporting Subscription vs. WinForms or WPF Subscription)
In our tests, a lower-tier AI model solved most reporting tasks with these skills and few tasks without them.
#ASP.NET Core Reports Skill
We updated our ASP.NET Core Reports skill to ensure AI assistants verify results before reporting success. The skill follows a fixed workflow:
- Inspect your project: client libraries, bundler, authentication, and target OS (Linux and Docker require additional setup).
- Propose a plan, then copy code from tested reference files.
- Run the app, verify that all scripts and styles load correctly, and check the browser console for errors. If the assistant cannot verify the page, it reports NOT VERIFIED.
For minor changes to a page that already works, our skill skips project setup and proceeds directly to changes. The ASP.NET Core Reports skill also includes guidance for data sources (EF Core, JSON, MongoDB, and Object), error logging, standalone Parameters Panel, and theming.
We tested the skill with a lower-tier AI model on three tasks in existing ASP.NET Core apps: customize the Report Designer, add a standalone Parameters Panel, and integrate a Report Designer into an app that already uses the Document Viewer. Without the skill, the assistant never ran the app, and a developer had to report errors back to the assistant. With the skill, the same model completed each task from a single prompt, verified results in a browser, and used approximately half as many input tokens.
DevExpress skills follow the Agent Skills standard and are compatible with Claude Code, Cursor, and GitHub Copilot (in Visual Studio, VS Code, and JetBrains Rider).
Documentation
Blog Post: DevExpress Agent Skills — October Update
DevExpress Report Designer for JetBrains Rider
#Properties Tab Enhancements
The Properties tab in the DevExpress Report Designer for JetBrains Rider includes a search box and a combo box for selecting report elements.
Use the search box to filter properties by name. Right-click a property and select Reset to restore the default value.

Use the combo box to quickly switch between report elements on the design surface:
#Report Designer Tab in the Problems Tool Window
Our new Report Designer tab in JetBrains Rider's Problems tool window displays issues detected by the DevExpress Report Design Analyzer.

- Click an error Code to open the corresponding online documentation.
- Check the Description column and the right panel for recommendations to resolve the issue.
- Use the Source column to identify the control/script that caused the issue. Double-click an issue to navigate to the corresponding control on the design surface.
- Sort issues by name/severity, or filter them by type (Error, Warning, Information, or Accessibility) and source (Report Creation, Report Layout, Report Export, or Report Script).
- Use the Suppressed Error Codes icon to exclude specific error codes from analysis.
Documentation
#Stability Enhancements
We continue to improve the Report Designer for JetBrains Rider to prepare it for production use. v26.2 addresses issues with common design tasks, including SQLite data sources, field editing, data source copying, band operations, and keyboard shortcuts. We also fixed a memory leak and errors that occurred when reopening reports or working with multiple reports.
WinForms and WPF Reporting — Fluent Icons
Both the DevExpress WinForms/WPF Report Viewer and Report Designer include thousands of new Fluent icons (adapted from our classic icon set).

WinForms
Call the WindowsFormsSettings.SetFluentIconStyle method to activate our Fluent icon set globally. Once activated, DevExpress UI controls with SVG image support will use Fluent-style icons.
using DevExpress.XtraEditors;
WindowsFormsSettings.SetFluentIconStyle();
Imports DevExpress.XtraEditors
WindowsFormsSettings.SetFluentIconStyle()
WPF
Set the ApplicationThemeHelper.ActiveIconSet property to Fluent to use Fluent icons across your entire application. The setting applies to built-in SVG icons used within DevExpress controls and images declared with {dx:DXImage} syntax (including DevExpress.Images SVG files). You do not need to change image markup:
public partial class App : Application {
protected override void OnStartup(StartupEventArgs e) {
ApplicationThemeHelper.ActiveIconSet = XpfIconSet.Fluent;
base.OnStartup(e);
}
}
AI-powered Extensions
#Report Designers — Fix Design Issues Using AI
The DevExpress WinForms, WPF, Web (Blazor, ASP.NET Core, Angular, and React), and Visual Studio Report Designers support AI-assisted fixes for issues detected by the Report Design Analyzer. The AI assistant examines report context and suggests a fix for each flagged control.
AI can resolve issues in the following areas:
- Layout — Moves/resizes controls that extend beyond page boundaries, separates overlapping controls, and reduces line thickness to fit within the control.
- Data — Fixes properties bound to nonexistent fields and corrects invalid expressions, data members, and filter strings.
- Barcodes — Corrects text that does not meet symbology requirements and enlarges barcodes to fit encoded data.
- Cross-tabs and summaries — Fixes invalid cross-tab fields and specifies summary calculation scope (page, group, or report).
- Format and export — Corrects invalid text format strings and separates overlapping elements that cause merged cells or extra rows/columns in Excel files.
To analyze:
- WinForms, WPF, and Web Report Designers: Click the Fix Issues with AI icon next to an issue in the Report Design Analyzer. The icon only appears for issues that AI can analyze.
- WinForms, WPF, Visual Studio, and Web Report Designers: Use the AI smart tag on a report, band, or control to analyze all associated issues.

When analysis is complete, the Review Changes and Suggestions dialog displays results:
- Changes — Modifications the assistant can apply, grouped by category (for instance, Layout, Data Binding, and Summary). Select individual or all changes, then click Apply to update the report.
- Suggestions — Recommendations that require manual review or changes to the report.
Use the filter drop-down to switch between changes and suggestions, or enter text in the Search field to find specific results.
Documentation: WinForms | WPF | Visual Studio | Web
#WinForms, WPF, and Visual Studio Report Designers — Optimize Report Design Using AI
v26.2 introduces AI-powered design optimizations for our WinForms, WPF, and Visual Studio Report Designers. The AI assistant analyzes layout and appearance settings and proposes changes that make the report easier to maintain and export.
AI can apply the following optimizations:
- Convert adjacent controls to tables — Converts labels, check boxes, and images located in the same band into a single table. Tables maintain a consistent report layout and improve export quality in XLS, XLSX, and CSV formats.
- Use type-based text alignment in table columns — Aligns text in labels and table cells based on data types of bound fields (for instance, aligns numeric values to the right).
- Clean up report control formatting — Consolidates report appearance settings to simplify future design changes. The AI assistant removes unused styles and redundant property values (that duplicate assigned styles or inherited settings), then creates report styles for controls with identical appearance settings.
To run an analysis, click the report's smart tag and select Optimize with AI. You can run all optimizations or choose specific options.

The Review Changes dialog lists proposed changes (grouped into Appearance and Layout categories). The report remains unchanged until you apply selected changes. The assistant applies related changes together.

Documentation: WinForms | WPF | Visual Studio
#WPF and Web Report Designers — AI-powered Chat Assistant (CTP)
DevExpress WPF and Web (Blazor, ASP.NET Core, Angular, and React) Report Designers include an AI Assistant panel (like our WinForms Report Designer). The assistant allows users to add, remove, or modify report elements, properties, and data bindings using natural language commands. The following commands are available:
- Add/remove report controls (labels, tables, barcodes, etc.)
- Add/remove report bands
- Find report controls by name and modify associated properties (text, expression binding, background and foreground colors, etc.)
- Group report data
- Filter report data
- Modify report properties (margins, paper kind, etc.)
- And more
To display our AI Assistant, register an AI client and do the following:
- WPF (.NET 10+): Attach
ReportModifyBehavior to the Report Designer. The assistant appears as a panel.


Documentation: WPF | Web
#WinForms, WPF, and Web Report Designers — DevExpress Documentation MCP Server Integration
Our AI Assistant now answers "how do I…" questions about designer features and report properties (for instance, how to create a calculated field or a group summary). The assistant uses the DevExpress Documentation MCP server to locate relevant documentation topics and generate responses based on up-to-date information (rather than relying on the model's knowledge).
Answers are more accurate: the assistant considers target platform info (WinForms, WPF, or Web) and tailors instructions as necessary. In our tests, the average answer score for "how do I…" questions increased from 2.3 to 4.9 (on a scale from 0 to 5).
To prevent the assistant from searching DevExpress documentation, disable the LookupDevExpressDocs property (WinForms and WPF) or pass false to the LookupDevExpressDocs method (Web):
behaviorManager1.Attach<ReportModifyBehavior>(reportDesigner1, behavior => {
behavior.Properties.LookupDevExpressDocs = false;
});
<dxmvvm:Interaction.Behaviors>
<dxai:ReportModifyBehavior LookupDevExpressDocs="False"/>
</dxmvvm:Interaction.Behaviors>
builder.Services.AddDevExpressAI(settings => {
settings.AddWebReportingAIIntegration(config => {
config.AddReportModificationAssistant(modification => {
modification.LookupDevExpressDocs(false);
});
});
});
If the documentation server is unavailable, the AI Assistant continues to process report modification requests. Documentation lookup is available in .NET applications.
Documentation: WinForms | WPF | Web
#WinForms, WPF, and Web Report Designers — Reduced AI Assistant Token Consumption
Our AI Assistant sends fewer tool descriptions with each request and calls tools only when needed. This reduces token usage and the number of model round trips (from 4.1 to 2.4 per request with GPT-5.4). Requested layout changes are also more reliable:
| Scenario | Model | Input tokens per request (before → after) | Reduction |
| Tables, fonts, and paddings | GPT-5.4 | 23.7K → 6.8K | 71% |
| Tables, fonts, and paddings | GPT-5.4 mini | 32.5K → 10.2K | 69% |
| Charts, cross-tabs, and QR codes | GPT-5.4 | 23.3K → 10.0K | 57% |
| Charts, cross-tabs, and QR codes | GPT-5.4 mini | 52.1K → 21.3K | 59% |
For questions that do not require report modifications, input token usage dropped from 10–15K to 2.5K per request, model round trips decreased from 2 to 1, while answer quality remained the same.
Web Reporting
#Angular 20 — End of Support
Angular 20 recently reached end of support and no longer receives security updates. With v26.2, DevExpress Reports will support Angular versions 21+.
#Web Report Designer — Knockout Observables Removal
With v26.2, the public client-side model API of the DevExpress Web Report Designer no longer uses Knockout observables. You can read and set property values directly:
// v26.1
tab.isDirty(false);
// v26.2
tab.isDirty = false;
Knockout still renders the Report Designer UI, including HTML templates and dxReportDesigner binding. This API change is the first step toward removing Knockout from our Web Report Designer. We plan to remove Knockout in a future release and recommend that you migrate to the new API now.
Update existing client-side customizations as follows:
- Replace observables passed to Report Designer options (such as
reportUrl) with non-observable values to avoid errors. - Use
CustomAction for toolbar/menu commands that change state at runtime. - Call
notifyStateChanged or notifyActionsChanged after changing custom wizard page settings.
Breaking Change: Web Report Designer — Client-side APIs no longer use Knockout observables
#Web Report Designer — Field List Highlights
This feature is available in v26.1.5+.
The Field List highlights data associated with the selected element on the design surface. For bound report controls, the Field List expands to the corresponding data field or report parameter. For unbound controls, controls with composite expressions, and bands, it highlights the related data member.
#Web Document Viewer — Accessibility Enhancements
v26.2 improves keyboard and screen reader support when using our Web Document Viewer.
Screen Reader Support
Screen readers announce the following information:
- Page and zoom changes
- Multi-page mode state
- Drill-down state
- Sort order
- Hyperlinks
- Editing field content, including check box state changes
Page and zoom selectors also have accessible names.
Focus Indicators
We redesigned the focus outline in the toolbar and panels to meet accessibility requirements for color contrast. Focused elements display a solid outline across all built-in themes.

Tab Panel tabs also display a focus outline.

Keyboard Navigation
- Left Arrow/Right Arrow navigate between pages when the document is focused. In multi-page mode, Home/End navigate to the first/last page. Up Arrow/Down Arrow move focus between page rows.
- Users can navigate to a popup menu displayed for an image editing field using the keyboard.
- In full-screen mode, Esc closes popups/drop-down lists without exiting this mode. Press and hold Esc to exit full-screen mode.*
- Focus returns to the element that initiated the action (after drill-down, sorting, or printing).
* Available on HTTPS pages in Chromium-based browsers (Chrome, Edge, Opera). In other browsers, Esc exits full-screen mode immediately.
New Keyboard Shortcuts
Our Web Document Viewer and Web Report Designer Preview now support the following keyboard shortcuts:
| Action | Windows | macOS |
| Open/close the Parameters panel | Ctrl + Shift + Y | Cmd + Shift + Y |
| Open/close the Document Map panel | Ctrl + Shift + M | Cmd + Shift + M |
| Open/close the Export Options panel | Ctrl + Shift + E | Cmd + Shift + E |
| Display all keyboard shortcuts | Question Mark (?) | Question Mark (?) |
The Keyboard Shortcuts window lists all shortcuts available in the Web Document Viewer and Web Report Designer Preview.

Toolbar and Tab Panel tooltips also display assigned shortcuts (for instance, Print (Ctrl+P)).

To reassign/disable a shortcut, set the action's hotKey property in the CustomizeMenuActions event handler:
function customizeMenuActions(s, e) {
// Change the keyboard shortcut for the Print command to Ctrl+O.
var printAction = e.GetById(DevExpress.Reporting.Viewer.ActionId.Print);
if (printAction)
printAction.hotKey = { ctrlKey: true, keyCode: "O".charCodeAt(0) };
// Disable the keyboard shortcut used to open the Document Map panel.
var documentMapAction = e.GetById(DevExpress.Reporting.Viewer.ActionId.DocumentMapPanel);
if (documentMapAction)
documentMapAction.hotKey = null;
}
Tooltips and the Keyboard Shortcuts window automatically reflect shortcut changes.
#Blazor Report Viewer — Right-to-Left Support (CTP)
The DevExpress Blazor Report Viewer (DxReportViewer) now supports right-to-left (RTL) mode in Fluent themes.
To enable RTL mode, set the <html> element's dir attribute to rtl:
<!-- App.razor -->
<html lang="ar" dir="rtl">
The dir attribute only affects the Report Viewer's UI. To display report content in right-to-left mode, set the XtraReport.RightToLeft and XtraReport.RightToLeftLayout properties as necessary.
Documentation
#Blazor Report Viewer — Icon Library Support
Use the following new properties to add icons to toolbar items and tabs in the Blazor Report Viewer:
You can use icons from our DevExpress Blazor Icon Library (it is now ready for production use).
The following code snippet adds a toolbar item and changes the Export Options tab icon:
@using DevExpress.Blazor.Reporting.Models
@using DevExpress.XtraReports.UI
@using DevExpress.Images.Blazor
<DxReportViewer Report="Report" OnCustomizeToolbar="OnCustomizeToolbar" OnCustomizeTabs="OnCustomizeTabs" />
@code {
XtraReport Report { get; set; } = new XtraReport();
void OnCustomizeToolbar(ToolbarModel toolbarModel) {
toolbarModel.AllItems.Add(new ToolbarItem() {
Text = "Send Email",
IconUrl = Icons.Mail.PaletteNeutral,
Click = (args) => Task.CompletedTask
});
}
void OnCustomizeTabs(List<TabModel> tabs) {
var exportTab = tabs.FirstOrDefault(tab => tab.Id == TabId.ExportOptions);
if (exportTab != null)
exportTab.IconUrl = Icons.ArrowDownload.PaletteNeutral;
}
}

Icon Explorer
Framework, IDE & Platform Updates
#.NET 11 Support
DevExpress BI Dashboard components now support .NET 11.
#.NET 10 and Visual Studio 2026 — Minimum Supported Versions
.NET 8 and .NET 9 reached End of Support on November 10, 2026. The minimum supported versions for .NET/.NET Core-based DevExpress product libraries are .NET 10 and Visual Studio 2026. For additional information, refer to the following announcement.
To help simplify migration, the DevExpress Project Converter automatically re-targets your projects to .NET 10.

Target DevExpress-based Projects to .NET 10 and .NET Framework 4.6.2
#SkiaSharp 4
DevExpress Drawing and PDF libraries now use SkiaSharp 4. This upgrade improves rendering performance and incorporates the latest SkiaSharp 4 security updates into the DevExpress BI Dashboard.
AI Agent Skills
The new dx-dashboard plugin in the DevExpress/agent-skills repository helps AI coding assistants generate correct BI Dashboard code for ASP.NET Core, Blazor, WinForms, and WPF apps (v26.1+). Our AI skills detect project platform info and generate platform-specific code for the following:
- Data Sources — Register SQL, Entity Framework, JSON, Excel, and other data sources in code and switch databases at runtime.
- Export — Export a dashboard or individual items (PDF, image, or Excel format) while preserving current filters and parameter values.
- Parameters — Create parameters, bind them to queries/filters, and set parameter values on the server for the authenticated user.
The skills also help assistants avoid common pitfalls (such as missing database driver packages, empty Excel exports, and row-level access rules that rely on values received from the browser).
Run the following command to install the plugin in GitHub Copilot CLI or Claude Code:
/plugin install dx-dashboard@DevExpress-agent-skills
In Codex CLI, run codex plugin add dx-dashboard@DevExpress-agent-skills.
Documentation | Blog Post: DevExpress Agent Skills — October Update
Data Sources
#Server Mode — New Summary Functions
We extended the list of aggregate functions supported in Server Mode for SQL data sources.
- Microsoft SQL Server: The
Median function is available for Azure SQL and SQL Server 2022 (16.x) or later.
- PostgreSQL:
Var, Varp, StdDev, and StdDevp functions are available for PostgreSQL 8.2+.
Select these functions in the Dashboard Designer's Summary Type list or specify them in code using the Measure.SummaryType property.
Documentation
Desktop Dashboard — Fluent Icons
DevExpress WinForms Dashboard Viewer, WinForms Dashboard Designer, and WPF Dashboard Viewer include thousands of new Fluent icons (adapted from our classic icon set).

WinForms: Call the WindowsFormsSettings.SetFluentIconStyle method to activate our Fluent icon set globally. Once activated, DevExpress UI controls that support SVG images will use Fluent-style icons.
using DevExpress.XtraEditors;
WindowsFormsSettings.SetFluentIconStyle();
Imports DevExpress.XtraEditors
WindowsFormsSettings.SetFluentIconStyle()
WPF: Set the ApplicationThemeHelper.ActiveIconSet property to Fluent to use Fluent icons across your entire application. The setting applies to built-in SVG icons used within DevExpress controls and images declared with {dx:DXImage} syntax (including DevExpress.Images SVG files). You do not need to change image markup:
public partial class App : Application {
protected override void OnStartup(StartupEventArgs e) {
ApplicationThemeHelper.ActiveIconSet = XpfIconSet.Fluent;
base.OnStartup(e);
}
}
Web Dashboard
#Angular 20 — End of Support
Angular 20 is no longer supported. With v26.2, our Angular Dashboard component targets Angular 21+.
#Blazor Server Dashboard — Process Requests in the Blazor Circuit
The Blazor Dashboard component can process requests in the Blazor circuit (the SignalR connection used by Blazor Server applications). In this mode, dashboard services can use your application's scoped services. For instance, you can get the current user from a scoped service and display only user-specific dashboards/data. You no longer need to configure a dashboard controller.
This mode requires Interactive Server rendering. Existing Blazor applications continue to use dashboard controllers. To enable circuit-based request processing, call the AddDevExpressBlazorDashboard method in Program.cs.
Documentation
#Accessibility Enhancements
Our Web Dashboard's Viewer ships with the following accessibility-related enhancements:
- Toolbars — dashboard title and item captions follow the WAI-ARIA Toolbar pattern. Each toolbar has a single Tab stop, and arrow keys move focus between toolbar buttons. This reduces the number of keystrokes needed to navigate the dashboard.
- Pivot item — Users can navigate the Pivot item with the keyboard. Tab moves focus between column headers, row headers, and the data area. Arrow keys move focus between header cells, while Enter and Space expand/collapse the focused header. Screen readers announce cell positions and header cell state (expanded/collapsed).
DevExtreme v26.2 Release Notes — Toolbar — New Keyboard Navigation Behavior
DevExtreme v26.2 Release Notes — PivotGrid — Accessibility Enhancements
.NET 11 Support
The DevExpress Office & PDF File API fully supports .NET 11.
#.NET 10 and Visual Studio 2026 — Minimum Supported Versions
.NET 8 and .NET 9 reached End of Support on November 10, 2026. The minimum supported versions for .NET/.NET Core-based DevExpress product libraries are now .NET 10 and Visual Studio 2026. The DevExpress Project Converter automatically re-targets your projects to .NET 10 to simplify migration. Learn more about this change in the following announcement.

Documentation: Target DevExpress-based Projects to .NET 10 and .NET Framework 4.6.2
New Object-Oriented PDF Document API (RTM)
The DevExpress object-oriented PDF Document API (DevExpress.Docs.Pdf) is now production-ready. v26.2 adds support for bookmarks, document and page actions, form field and annotation flattening, form field name conflict resolution, and digital signatures. This update also introduces PDF/A and PDF/UA compliance validation and conversion.
#Bookmarks
With v26.2, you can create bookmarks to target the following elements within a document:
- Document pages with specific view settings (such as fit the page or the viewer window, display a specific page region, or set a custom position and zoom level).
- External URIs that open web pages in the default browser.
- Actions that navigate to a page in the current or different PDF document, execute JavaScript, or reset form fields.
You can create hierarchical bookmarks with nested, collapsible items. You can also specify a bookmark's initial expanded or collapsed state and customize bookmark text, color, and style. Use the PdfDocument.Bookmarks collection to manage bookmarks.
The following code snippet creates a parent bookmark with two child bookmarks that navigate to different pages:
using System.IO;
using DevExpress.Docs.Pdf;
using var pdfDocument = new PdfDocument(File.OpenRead("Document.pdf"));
var pages = pdfDocument.Pages;
// Create a parent bookmark and two child bookmarks.
var parent = new Bookmark("Getting Started") {
ActionTarget = new ActionTarget(pages[0], new FitDestination())
};
parent.Children.Add(new Bookmark("Introduction") {
ActionTarget = new ActionTarget(pages[1], new FitDestination())
});
parent.Children.Add(new Bookmark("Installation") {
ActionTarget = new ActionTarget(pages[2], new FitDestination())
});
pdfDocument.Bookmarks.Add(parent);
using var output = File.Create("Bookmarks.pdf");
pdfDocument.Save(output);
Imports System.IO
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using pdfDocument As New PdfDocument(File.OpenRead("Document.pdf"))
Dim pages As PageCollection = pdfDocument.Pages
' Create a parent bookmark and two child bookmarks.
Dim parent As New Bookmark("Getting Started") With {
.ActionTarget = New ActionTarget(pages(0), New FitDestination())
}
parent.Children.Add(New Bookmark("Introduction") With {
.ActionTarget = New ActionTarget(pages(1), New FitDestination())
})
parent.Children.Add(New Bookmark("Installation") With {
.ActionTarget = New ActionTarget(pages(2), New FitDestination())
})
pdfDocument.Bookmarks.Add(parent)
Using output As FileStream = File.Create("Bookmarks.pdf")
pdfDocument.Save(output)
End Using
End Using
End Sub
End Module
Documentation
#Document and Page Actions
PDF Document API (v26.2) allows you to specify actions PDF viewers execute in response to document and page events:
- PdfDocument.OpenAction — specifies the page view or action that a viewer applies when a user opens the document.
- PdfDocument.Actions — defines JavaScript actions that run before the user closes the document or before/after the user saves or prints it.
- Page.Actions — defines actions that run when the user opens or closes a page.
The following code snippet opens the document on the second page, displays a message before the user prints it, and displays a message when the user navigates to the first page:
using System.IO;
using DevExpress.Docs.Pdf;
using var pdfDocument = new PdfDocument(File.OpenRead("Document.pdf"));
var pages = pdfDocument.Pages;
pdfDocument.OpenAction = new ActionTarget(pages[1], new FitDestination());
pdfDocument.Actions = new DocumentActions {
Printing = new JavaScriptAction {
JavaScript = "app.alert('This document is confidential.');"
}
};
pages[0].Actions = new PageActions {
Opened = new JavaScriptAction {
JavaScript = "app.alert('Welcome!');"
}
};
using var output = File.Create("Actions.pdf");
pdfDocument.Save(output);
Imports System.IO
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using pdfDocument As New PdfDocument(File.OpenRead("Document.pdf"))
Dim pages As PageCollection = pdfDocument.Pages
pdfDocument.OpenAction =
New ActionTarget(pages(1), New FitDestination())
pdfDocument.Actions = New DocumentActions() With {
.Printing = New JavaScriptAction() With {
.JavaScript = "app.alert('This document is confidential.');"
}
}
pages(0).Actions = New PageActions() With {
.Opened = New JavaScriptAction() With {
.JavaScript = "app.alert('Welcome!');"
}
}
Using output As FileStream = File.Create("Actions.pdf")
pdfDocument.Save(output)
End Using
End Using
End Sub
End Module
#Form Field and Annotation Flattening
PDF Document API (v26.2) can flatten interactive form fields and annotations into static page content.
You can flatten all form fields or annotations in a document, or specify a page or select individual items. Use PdfDocument.FlattenFormFields and PdfDocument.FlattenAnnotations methods to flatten content.
The following code snippet flattens all form fields and annotations on the first page of a PDF document:
using System.IO;
using DevExpress.Docs.Pdf;
using var pdfDocument = new PdfDocument(File.OpenRead("Document.pdf"));
// Flatten form fields and annotations on the first page.
pdfDocument.FlattenFormFields(0);
pdfDocument.FlattenAnnotations(0);
using var output = File.Create("Flattened.pdf");
pdfDocument.Save(output);
Imports System.IO
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using pdfDocument As New PdfDocument(File.OpenRead("Document.pdf"))
' Flatten form fields and annotations on the first page.
pdfDocument.FlattenFormFields(0)
pdfDocument.FlattenAnnotations(0)
Using output As FileStream = File.Create("Flattened.pdf")
pdfDocument.Save(output)
End Using
End Using
End Sub
End Module
Documentation
#Resolve Form Field Name Conflicts
Our PDF Document API introduces new methods to detect and resolve duplicate form field names. Duplicate names can occur when you merge documents, copy pages that contain form fields, or assign an existing field name.
Call the PdfDocument.GetFieldNameCollisions method to identify fields with duplicate full names.
You can resolve these conflicts in the following ways:
- Merge fields — Call the PdfDocument.MergeFormFields method to combine fields that must share the same value. The method moves widgets from source fields to the target field and removes source fields from the document. The target field retains its name, value, and other settings.
- Rename fields — Set the FormField.Name property to a unique name for each field that requires an independent value.
You can also configure automatic conflict resolution when you save a document. Set the SaveOptions.FieldNameConflictResolution property to one of the following values:
| Value | Description |
| RenameNewConflicts | The API renames form fields to resolve new name conflicts. Conflicts that the loaded document contains remain. |
| ThrowOnNewConflicts | The API throws an exception if the document contains new form field name conflicts. Conflicts that the loaded document contains do not cause an exception. |
| RenameAllConflicts | The API renames form fields to resolve all name conflicts, including conflicts that the loaded document contains. |
| ThrowOnAllConflicts | The API throws an exception if the document contains form field name conflicts, including conflicts that the loaded document contains. |
When the API renames fields, it preserves the name of the first field in each conflict and assigns unique names (such as Field0 and Field1) to remaining fields. Use the SaveResult.ResolvedFieldNameConflicts property to identify renamed fields.
The following code snippet copies a page that contains form fields, merges duplicate Name fields, renames other duplicate fields, and saves the document:
using System.IO;
using System.Linq;
using DevExpress.Docs.Pdf;
using var source = new PdfDocument(File.OpenRead("Document.pdf"));
using var document = new PdfDocument(File.OpenRead("Document.pdf"));
// Copy a page with form fields to create name conflicts.
document.Pages.Add(source.Pages[0].Clone());
foreach (var collision in document.GetFieldNameCollisions().ToList()) {
var fields = collision.Fields;
if (collision.FullName == "Name") {
// Merge fields that share the same value.
document.MergeFormFields(fields[0], fields.Skip(1).ToArray());
}
else {
// Rename fields that keep independent values.
var index = 1;
foreach (var field in fields.Skip(1))
field.Name = $"{field.Name}_{index++}";
}
}
var options = new SaveOptions {
FieldNameConflictResolution =
FieldNameConflictResolution.ThrowOnNewConflicts
};
using var output = File.Create("FormFields.pdf");
document.Save(output, options);
Imports System.Collections.Generic
Imports System.IO
Imports System.Linq
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using source As New PdfDocument(File.OpenRead("Document.pdf")),
document As New PdfDocument(File.OpenRead("Document.pdf"))
' Copy a page with form fields to create name conflicts.
document.Pages.Add(source.Pages(0).Clone())
For Each collision As FormFieldNameCollision In
document.GetFieldNameCollisions().ToList()
Dim fields As IReadOnlyList(Of FormField) = collision.Fields
If collision.FullName = "Name" Then
' Merge fields that share the same value.
document.MergeFormFields(fields(0),
fields.Skip(1).ToArray())
Else
' Rename fields that keep independent values.
Dim index As Integer = 1
For Each field As FormField In fields.Skip(1)
field.Name = $"{field.Name}_{index}"
index += 1
Next
End If
Next
Dim options As New SaveOptions() With {
.FieldNameConflictResolution =
FieldNameConflictResolution.ThrowOnNewConflicts
}
Using output As FileStream = File.Create("FormFields.pdf")
document.Save(output, options)
End Using
End Using
End Sub
End Module
Documentation
#Digital Signatures
The DevExpress PDF Document API adds support for digital signatures. You can sign PDF documents with X.509 certificates, preserve existing signatures when you apply supported document changes, and validate signatures/certificates.
Sign PDF Documents
Call the PdfDocument.AddSignature(field, options) method to sign new or existing signature fields with X.509 certificates. The SignatureOptions object specifies signature properties (such as hash algorithm, signer name, signing time, reason, and location). You can also certify documents to control which changes are allowed after signing and lock selected form fields to prevent further modifications.
Additional signing options include:
- PAdES signatures
- Trusted timestamps
- Custom signature appearance

The following code snippet creates a signature field, adds signer details to the signature appearance, signs the field with a certificate, and saves the signed document:
using System.Drawing;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using DevExpress.Docs.Pdf;
using var pdfDocument = new PdfDocument(File.OpenRead("Document.pdf"));
// Create a signature field and display its widget on the first page.
var field = new SignatureField("Signature1");
pdfDocument.Fields.Add(field);
var widget = new SignatureWidgetAnnotation(field, new RectangleF(320, 340, 200, 50));
// Add signer details to the signature appearance.
widget.AddTextFragment("Digitally signed by Jane Cooper", 5, 28);
widget.AddTextFragment("Reason: I approve this document", 5, 8);
pdfDocument.Pages[0].Annotations.Add(widget);
// Sign the field with a certificate.
var options = new SignatureOptions {
Certificate = new X509Certificate2("Certificate.pfx", "password"),
HashAlgorithm = HashAlgorithm.SHA256,
SignerName = "Jane Cooper",
Reason = "I approve this document"
};
pdfDocument.AddSignature(field, options);
using var output = File.Create("Signed.pdf");
pdfDocument.Save(output);
Imports System.Drawing
Imports System.IO
Imports System.Security.Cryptography.X509Certificates
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using pdfDocument As New PdfDocument(File.OpenRead("Document.pdf"))
' Create a signature field and display its widget on the first page.
Dim field As New SignatureField("Signature1")
pdfDocument.Fields.Add(field)
Dim widget As New SignatureWidgetAnnotation(field,
New RectangleF(320, 340, 200, 50))
' Add signer details to the signature appearance.
widget.AddTextFragment("Digitally signed by Jane Cooper", 5, 28)
widget.AddTextFragment("Reason: I approve this document", 5, 8)
pdfDocument.Pages(0).Annotations.Add(widget)
' Sign the field with a certificate.
Dim options As New SignatureOptions() With {
.Certificate = New X509Certificate2("Certificate.pfx",
"password"),
.HashAlgorithm = HashAlgorithm.SHA256,
.SignerName = "Jane Cooper",
.Reason = "I approve this document"
}
pdfDocument.AddSignature(field, options)
Using output As FileStream = File.Create("Signed.pdf")
pdfDocument.Save(output)
End Using
End Using
End Sub
End Module
Documentation
Incremental Updates
When you modify a PDF document that already contains digital signatures, you can save your changes as an incremental update. An incremental update preserves original document content and maintains existing signature validity.
Use the SaveOptions.SaveMode property to specify how the API saves document modifications:
Auto — saves changes as an incremental update if the document was loaded from a stream and contains existing or pending signatures. Otherwise, the API rewrites the document.Rewrite — rewrites the document with all changes and applies pending signatures. Existing signatures are invalid.
Incremental updates support the following changes:
- Form field values and definitions
- Annotations, including widget annotations
- New signatures
The following code snippet signs a document and saves it as an incremental update:
using System.Drawing;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using DevExpress.Docs.Pdf;
using var input = File.OpenRead("Document.pdf");
using var pdfDocument = new PdfDocument(input);
var field = new SignatureField("Signature1");
pdfDocument.Fields.Add(field);
pdfDocument.Pages[0].Annotations.Add(
new SignatureWidgetAnnotation(field, new RectangleF(20, 400, 200, 60)));
pdfDocument.AddSignature(field, new SignatureOptions {
Certificate = new X509Certificate2("Certificate.pfx", "password")
});
var saveOptions = new SaveOptions { SaveMode = SaveMode.Auto };
using var output = File.Create("Signed.pdf");
pdfDocument.Save(output, saveOptions);
Imports System.Drawing
Imports System.IO
Imports System.Security.Cryptography.X509Certificates
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using input As FileStream = File.OpenRead("Document.pdf"),
pdfDocument As New PdfDocument(input)
Dim field As New SignatureField("Signature1")
pdfDocument.Fields.Add(field)
pdfDocument.Pages(0).Annotations.Add(
New SignatureWidgetAnnotation(field, New RectangleF(20, 400, 200, 60)))
pdfDocument.AddSignature(field, New SignatureOptions() With {
.Certificate = New X509Certificate2("Certificate.pfx", "password")
})
Dim saveOptions As New SaveOptions() With {
.SaveMode = SaveMode.Auto
}
Using output As FileStream = File.Create("Signed.pdf")
pdfDocument.Save(output, saveOptions)
End Using
End Using
End Sub
End Module
Documentation
Verify Signatures
Use the PdfSignatureValidator class to access signature details, signing certificates, timestamps, and certificate revocation information. Use it to validate digital signatures in PDF documents.
Verification includes the following checks:
- Signature verification — Checks whether a PKCS#7 signature is valid and whether signed document content has changed.
- Timestamp verification — Validates signature timestamps and retrieves signing date and time.
- Certificate validation — Checks certificate revocation status against embedded or online Certificate Revocation Lists (CRLs) and Online Certificate Status Protocol (OCSP) responses.
- Long-term validation (LTV) — Checks whether signatures contain certificate revocation information required for long-term validation.
Use the PdfDocument.GetSignatures method to retrieve signature details (such as signer details, signing time, signature type, and permissions).
PdfSignatureValidator.GetPkcs7Signature and PdfSignatureValidator.VerifyLtv methods validate signatures and their long-term validation information.
The following code snippet verifies a signature in a signed document and checks the revocation status of the signing certificate:
using System;
using System.IO;
using DevExpress.Docs.Pdf;
using var stream = File.OpenRead("Signed.pdf");
var validator = new PdfSignatureValidator(stream);
// Verify the signature.
var signature = validator.GetPkcs7Signature("Signature1");
Console.WriteLine($"Signature verified: {signature.IsSignatureVerified}");
Console.WriteLine($"Signed by: {signature.SignatureCertificate.Subject}");
// Check certificate revocation status.
var checkDate = signature.TimeStampDate ?? DateTimeOffset.Now;
var status = signature.CheckCertificateRevocation(
checkDate,
tryFetchCrlOnline: true,
tryFetchOcspOnline: true);
Console.WriteLine($"CRL revoked: {status.IsCrlRevoked}");
Console.WriteLine($"OCSP status: {status.OcspRevocationStatus}");
Imports System
Imports System.IO
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using stream As FileStream = File.OpenRead("Signed.pdf")
Dim validator As New PdfSignatureValidator(stream)
' Verify the signature.
Dim signature As Pkcs7Signature =
validator.GetPkcs7Signature("Signature1")
Console.WriteLine(
$"Signature verified: {signature.IsSignatureVerified}")
Console.WriteLine(
$"Signed by: {signature.SignatureCertificate.Subject}")
' Check certificate revocation status.
Dim checkDate As DateTimeOffset =
If(signature.TimeStampDate, DateTimeOffset.Now)
Dim status As SignatureCertificateRevocationStatus =
signature.CheckCertificateRevocation(
checkDate,
tryFetchCrlOnline:=True,
tryFetchOcspOnline:=True)
Console.WriteLine($"CRL revoked: {status.IsCrlRevoked}")
Console.WriteLine($"OCSP status: {status.OcspRevocationStatus}")
End Using
End Sub
End Module
Documentation
#PDF/A and PDF/UA Compliance Validation and Conversion
Our PDF Document API (v26.2) adds methods to validate PDF documents against PDF/A and PDF/UA standards:
The following code snippet validates a document against the PDF/A-3b standard, converts the document if it does not comply, and saves the result:
using System;
using System.IO;
using DevExpress.Docs.Pdf;
using var pdfDocument = new PdfDocument(File.OpenRead("Document.pdf"));
// Validate the document.
var validation = pdfDocument.ValidatePdfA(PdfACompatibility.PdfA3b);
Console.WriteLine($"PDF/A-3b compliant: {validation.IsValid}");
// Convert the document if it does not comply.
if (!validation.IsValid) {
var conversion = pdfDocument.ConvertToPdfA(PdfACompatibility.PdfA3b);
Console.WriteLine($"Conversion status: {conversion.Status}");
}
using var output = File.Create("Document_PdfA.pdf");
pdfDocument.Save(output);
Imports System
Imports System.IO
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using pdfDocument As New PdfDocument(File.OpenRead("Document.pdf"))
' Validate the document.
Dim validation As ValidationResult =
pdfDocument.ValidatePdfA(PdfACompatibility.PdfA3b)
Console.WriteLine($"PDF/A-3b compliant: {validation.IsValid}")
' Convert the document if it does not comply.
If Not validation.IsValid Then
Dim conversion As ConversionResult =
pdfDocument.ConvertToPdfA(PdfACompatibility.PdfA3b)
Console.WriteLine($"Conversion status: {conversion.Status}")
End If
Using output As FileStream = File.Create("Document_PdfA.pdf")
pdfDocument.Save(output)
End Using
End Using
End Sub
End Module
Documentation
#PDF Compression and Optimization
With v26.2, you can compress embedded images and remove unnecessary content to reduce PDF file size.
Use the PdfDocument.CompressImages(options) method to control image compression. You can adjust JPEG quality, downsampling resolution, and compression algorithms for color, grayscale, and bitonal images. You can also convert color images to grayscale.
Use the PdfDocument.Optimize method to remove unnecessary document elements (such as metadata, attachments, bookmarks, page thumbnails, JavaScript actions, and logical structure information).
The following code snippet compresses images, removes metadata and attachments, and saves the optimized PDF document:
using System.IO;
using DevExpress.Docs.Pdf;
using var pdfDocument = new PdfDocument(File.OpenRead("Document.pdf"));
// Remove metadata and attachments and compress images.
var options = new OptimizationOptions {
RemoveMetadata = true,
RemoveAttachments = true,
ImageCompressionOptions = new ImageCompressionOptions {
CompressionType = ImageCompressionType.Jpeg,
JpegQuality = 75,
DownsamplingResolution = 150
}
};
pdfDocument.Optimize(options);
using var output = File.Create("Optimized.pdf");
pdfDocument.Save(output);
Imports System.IO
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using pdfDocument As New PdfDocument(File.OpenRead("Document.pdf"))
' Remove metadata and attachments and compress images.
Dim options As New OptimizationOptions() With {
.RemoveMetadata = True,
.RemoveAttachments = True,
.ImageCompressionOptions = New ImageCompressionOptions() With {
.CompressionType = ImageCompressionType.Jpeg,
.JpegQuality = 75,
.DownsamplingResolution = 150
}
}
pdfDocument.Optimize(options)
Using output As FileStream = File.Create("Optimized.pdf")
pdfDocument.Save(output)
End Using
End Using
End Sub
End Module
Documentation
New Optical Character Recognition (OCR) API
The DevExpress OCR API converts scanned PDFs and images into machine-readable text using optical character recognition (OCR). You can extract text, inspect recognized content along with its location and confidence scores, and create searchable PDFs. Apply OCR to an existing scanned PDF or generate a searchable PDF from images. You can then search, extract, and process recognized text.
Our OCR API is available as a standalone DevExpress.Docs.Ocr NuGet package and extends our New PDF Document API (DevExpress.Docs.Pdf) with local text recognition. It uses built-in deep learning models and ONNX Runtime to perform recognition entirely on your machine, without external services or cloud APIs. The package includes recognition models and installs ONNX Runtime and SkiaSharp as dependencies.

#Recognize Text in Scanned PDFs
Use the OcrEngine class to recognize text in PDF documents. Its built-in DocTrOcrProvider uses deep learning models to detect and recognize text. You can process an entire PDF document, selected pages, or specific page regions.
To control page recognition, set the PdfDocumentRecognitionOptions.RecognitionMode property and pass options to the OcrEngine.RecognizePdfDocument method:
| Recognition Mode | Description |
| RenderedPage | The OCR engine renders each page to an image and recognizes text in the page image. |
| EmbeddedImages | The OCR engine recognizes text in images on each page and does not render the page. |
Use the PdfDocumentRecognitionOptions.Regions property to limit recognition to specific page regions.
The following code snippet recognizes text in a scanned PDF document, prints recognized words with associated bounds and confidence scores, and saves the document as a searchable PDF:
using System;
using System.IO;
using DevExpress.Docs.Ocr;
using DevExpress.Docs.Pdf;
using var document = new PdfDocument(File.OpenRead("ScannedDocument.pdf"));
using var provider = new DocTrOcrProvider();
var engine = new OcrEngine(provider);
// Recognize text on all pages.
var result = engine.RecognizePdfDocument(document);
foreach (var page in result.PageResults)
foreach (var fragment in page.TextFragments)
foreach (var word in fragment.Words)
Console.WriteLine(
$"{word.Text} {word.Bounds} ({word.Confidence:P0})");
// Add an invisible text layer and save the searchable PDF.
result.ApplyToDocument();
using var output = File.Create("Searchable.pdf");
document.Save(output);
Imports System
Imports System.IO
Imports DevExpress.Docs.Ocr
Imports DevExpress.Docs.Pdf
Module Program
Sub Main()
Using document As New PdfDocument(File.OpenRead("ScannedDocument.pdf")),
provider As New DocTrOcrProvider()
Dim engine As New OcrEngine(provider)
' Recognize text on all pages.
Dim result As PdfDocumentRecognitionResult =
engine.RecognizePdfDocument(document)
For Each page As PdfPageRecognitionResult In result.PageResults
For Each fragment As PdfTextFragment In page.TextFragments
For Each word As PdfTextWord In fragment.Words
Console.WriteLine(
$"{word.Text} {word.Bounds} ({word.Confidence:P0})")
Next
Next
Next
' Add an invisible text layer and save the searchable PDF.
result.ApplyToDocument()
Using output As FileStream = File.Create("Searchable.pdf")
document.Save(output)
End Using
End Using
End Sub
End Module
OCR API organizes recognized content into text fragments, lines, and words. Use Text, Bounds, and Confidence properties to access the recognized text, its location, and recognition confidence. For PDF pages, Bounds uses points in the page user space. Recognition methods return text fragments in reading order (you can process entire text blocks or individual words).
Documentation
#Recognize Text in Images
Use the OcrEngine.RecognizeImage or OcrEngine.RecognizeImages method to recognize text in one or multiple images. Both methods return recognition text fragments, lines, and words with bounding rectangles expressed in image pixels.
To recognize text only in specific image areas, use the ImageRecognitionOptions.Regions property.
The following code snippet recognizes text in an image, prints recognized text fragments with their bounds, and saves the result as a searchable PDF:
using System;
using System.IO;
using DevExpress.Docs.Ocr;
using DevExpress.Drawing;
using var image = DXImage.FromStream(File.OpenRead("Document.png"));
using var provider = new DocTrOcrProvider();
var engine = new OcrEngine(provider);
// Recognize text in the image.
var results = engine.RecognizeImages(new[] { image });
foreach (var item in results.ImageResults)
foreach (var fragment in item.TextFragments)
Console.WriteLine($"{fragment.Bounds}: {fragment.Text}");
// Create a searchable PDF with one page for each image.
using var document = results.ToPdf();
using var output = File.Create("Searchable.pdf");
document.Save(output);
Imports System
Imports System.IO
Imports DevExpress.Docs.Ocr
Imports DevExpress.Docs.Pdf
Imports DevExpress.Drawing
Module Program
Sub Main()
Using image As DXImage =
DXImage.FromStream(File.OpenRead("Document.png")),
provider As New DocTrOcrProvider()
Dim engine As New OcrEngine(provider)
' Recognize text in the image.
Dim results As ImageRecognitionResults =
engine.RecognizeImages({image})
For Each item As ImageRecognitionResult In results.ImageResults
For Each fragment As ImageTextFragment In item.TextFragments
Console.WriteLine($"{fragment.Bounds}: {fragment.Text}")
Next
Next
' Create a searchable PDF with one page for each image.
Using document As PdfDocument = results.ToPdf()
Using output As FileStream = File.Create("Searchable.pdf")
document.Save(output)
End Using
End Using
End Using
End Sub
End Module
Documentation
#Create Searchable PDFs
OCR API converts scanned PDFs and images into searchable PDF documents. It adds recognized text as an invisible layer over each page. Users can search and select text without changing the original appearance.
For scanned PDFs, use one of the following methods:
For images, use the following methods:
Use PdfGenerationOptions to configure generated pages. You can specify page size and text font, and enable page rotation to display recognized text upright.
Documentation
#Customize OCR
You can configure the built-in DocTrOcrProvider to adjust recognition performance and support additional languages and characters:
- Configure recognition settings — Use the DocTrOcrProviderOptions to control the number of model threads and page orientation detection.
- Use custom models — The provider supports custom docTR models in ONNX format for text detection, text recognition, and page orientation detection.
The built-in text recognition model supports English and French, digits, ASCII punctuation and symbols, the degree sign, and selected currency symbols. It does not support the following letters æ, œ, and ÿ or non-Latin scripts (such as Cyrillic, Greek, or Chinese). To recognize additional characters and languages, assign a custom model to the DocTrOcrProviderOptions.RecognitionModel property.
You can also implement the IOcrProvider interface to integrate a different OCR engine. The OCR API handles image cropping, coordinate conversion for PDF pages, and recognition result construction.
Documentation
New Object-Oriented Spreadsheet Document API (CTP)
The DevExpress Spreadsheet Document API (v26.2) introduces our new object-oriented .NET library (DevExpress.Docs.Spreadsheet). Use it to create, load, modify, calculate, and export spreadsheet workbooks. This new API library exposes a strongly typed workbook object model for use with worksheets, cells and ranges, rows and columns, formulas, formatting, tables, charts, drawing objects, and document properties. You can also merge workbooks, manage document security, and export workbooks to PDF.
The Workbook class in the DevExpress.Docs.Spreadsheet namespace is the entry point to the object model. The library targets .NET 10 and .NET Framework 4.6.2+.
IMPORTANT: The new DevExpress object-oriented Spreadsheet Document API library is currently available as a Community Technology Preview (CTP). We do not recommend the use of pre-release libraries within mission-critical software applications. Please explore the capabilities of this new library and share your feedback so that we can make necessary changes before official release. To start a conversation, submit a ticket via the DevExpress Support Center.
The new API library is available alongside our existing Spreadsheet Document API, which uses the DevExpress.Spreadsheet.Workbook class.
#Get Started
Install the DevExpress.Docs.Spreadsheet NuGet package:
dotnet add package DevExpress.Docs.Spreadsheet
The following code snippet creates a workbook, adds data and a formula, calculates the result, and saves the workbook as an XLSX file:
using System.IO;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook();
var worksheet = workbook.Worksheets[0];
// Add data and a formula.
worksheet.Cells["A1"].Value = "Product A";
worksheet.Cells["B1"].Value = 1250.50;
worksheet.Cells["A2"].Value = "Product B";
worksheet.Cells["B2"].Value = 980.25;
worksheet.Cells["B3"].Formula = "=SUM(B1:B2)";
workbook.Calculate();
// Save the workbook.
using var output = File.Create("Document.xlsx");
workbook.Save(output, DocumentFormat.Xlsx);
Imports System.IO
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook()
Dim worksheet As Worksheet = workbook.Worksheets(0)
' Add data and a formula.
worksheet.Cells("A1").Value = "Product A"
worksheet.Cells("B1").Value = 1250.5
worksheet.Cells("A2").Value = "Product B"
worksheet.Cells("B2").Value = 980.25
worksheet.Cells("B3").Formula = "=SUM(B1:B2)"
workbook.Calculate()
' Save the workbook.
Using output As FileStream = File.Create("Document.xlsx")
workbook.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Sub
End Module
Documentation
#Workbook and Worksheet Management
Create workbooks, load existing spreadsheet documents, and export them to supported file formats (XLS, XLSX, XLSM, XLSB, CSV, TXT, and Excel 2003 XML). You can also manage worksheets and chart sheets (insert, copy, remove, reorder, and toggle sheet visibility).
The following code snippet loads a workbook, adds a new worksheet, and saves the workbook:
using System.IO;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook(File.OpenRead("Document.xlsx"));
workbook.Worksheets.Add(new Worksheet("Summary"));
using var output = File.Create("Worksheets.xlsx");
workbook.Save(output, DocumentFormat.Xlsx);
Imports System.IO
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook(File.OpenRead("Document.xlsx"))
workbook.Worksheets.Add(New Worksheet("Summary"))
Using output As FileStream = File.Create("Worksheets.xlsx")
workbook.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Sub
End Module
Documentation
#Row and Column Management
Insert, remove, hide, and display rows and columns to organize worksheet data. Specify row heights and column widths to control the layout.
The following code snippet inserts rows and columns, resizes them, and fits them to cell content:
using System.IO;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook(File.OpenRead("Document.xlsx"));
var worksheet = workbook.Worksheets[0];
// Insert two rows at index 2 and three columns at index 4.
worksheet.InsertRows(2, 2);
worksheet.InsertColumns(4, 3);
// Resize a row and a column.
worksheet.Rows[5].Height = 30;
worksheet.Columns[3].Width = 100;
// Fit the first row and column to cell content.
worksheet.Rows[0].AutoFit();
worksheet.Columns[0].AutoFit();
using var output = File.Create("RowsAndColumns.xlsx");
workbook.Save(output, DocumentFormat.Xlsx);
Imports System.IO
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook(File.OpenRead("Document.xlsx"))
Dim worksheet As Worksheet = workbook.Worksheets(0)
' Insert two rows at index 2 and three columns at index 4.
worksheet.InsertRows(2, 2)
worksheet.InsertColumns(4, 3)
' Resize a row and a column.
worksheet.Rows(5).Height = 30
worksheet.Columns(3).Width = 100
' Fit the first row and column to cell content.
worksheet.Rows(0).AutoFit()
worksheet.Columns(0).AutoFit()
Using output As FileStream = File.Create("RowsAndColumns.xlsx")
workbook.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Sub
End Module
Documentation
#Cell and Range Operations
Access individual cells/ranges to read and modify their content. Work with text, numeric, Boolean, date and time, and error values. Insert, delete, merge, and split cells.
The following code snippet merges the B2:D5 cell range and deletes the A1 cell with a cell shift to the left:
using System.IO;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook(File.OpenRead("Document.xlsx"));
var worksheet = workbook.Worksheets[0];
// Merge cells.
worksheet.MergeCells(worksheet["B2:D5"]);
// Delete the A1 cell and shift cells to the left.
worksheet.DeleteCells(0, 0, 1, 1, DeleteCellsMode.ShiftCellsLeft);
using var output = File.Create("MergedCells.xlsx");
workbook.Save(output, DocumentFormat.Xlsx);
Imports System.IO
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook(File.OpenRead("Document.xlsx"))
Dim worksheet As Worksheet = workbook.Worksheets(0)
' Merge cells.
worksheet.MergeCells(worksheet("B2:D5"))
' Delete the A1 cell and shift cells to the left.
worksheet.DeleteCells(0, 0, 1, 1, DeleteCellsMode.ShiftCellsLeft)
Using output As FileStream = File.Create("MergedCells.xlsx")
workbook.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Sub
End Module
Documentation
#Formula Calculation
Create and manage formulas, including array and dynamic array formulas. Calculate formulas at the workbook, worksheet, or cell range level. Recalculate all formulas when needed, and configure calculation behavior during document load, save, and export operations.
DevExpress Spreadsheet Document API includes built-in functions for mathematical, statistical, financial, logical, lookup, text, date and time, engineering, and other calculations.
The following code snippet adds formulas to cells A3 and A4, calculates the workbook, and displays results:
using System;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook();
var cells = workbook.Worksheets[0].Cells;
// Add values and formulas.
cells["A1"].Value = 120;
cells["A2"].Value = 80;
cells["A3"].Formula = "=SUM(A1:A2)*0.9";
cells["A4"].Formula = "=IF(A3>150,\"High\",\"Low\")";
// Calculate formulas and display results.
workbook.Calculate();
Console.WriteLine($"A3: {cells["A3"].Value}");
Console.WriteLine($"A4: {cells["A4"].Value}");
Imports System
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook()
Dim cells As CellCollection = workbook.Worksheets(0).Cells
' Add values and formulas.
cells("A1").Value = 120
cells("A2").Value = 80
cells("A3").Formula = "=SUM(A1:A2)*0.9"
cells("A4").Formula = "=IF(A3>150,""High"",""Low"")"
' Calculate formulas and display results.
workbook.Calculate()
Console.WriteLine($"A3: {cells("A3").Value}")
Console.WriteLine($"A4: {cells("A4").Value}")
End Using
End Sub
End Module
Documentation
#Cell Formatting and Styles
Customize cell and range appearance with font, fill, border, alignment, and number format settings. Create and reuse cell styles, apply predefined and custom table styles, and configure workbook themes.
The following code snippet applies bold and italic Arial font settings and center alignment to the B2 cell:
using System.IO;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook(File.OpenRead("Document.xlsx"));
var cell = workbook.Worksheets[0].Cells["B2"];
// Apply font settings.
cell.Format.Font = new FontFormat(
"Arial",
12,
CellColor.Automatic,
bold: true,
italic: true,
strikeout: false,
UnderlineType.None);
// Center cell content.
cell.Format.Alignment = new AlignmentFormat(
SpreadsheetHorizontalAlignment.Center,
SpreadsheetVerticalAlignment.Center);
using var output = File.Create("Formatted.xlsx");
workbook.Save(output, DocumentFormat.Xlsx);
Imports System.IO
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook(File.OpenRead("Document.xlsx"))
Dim cell As Cell = workbook.Worksheets(0).Cells("B2")
' Apply font settings.
cell.Format.Font = New FontFormat(
"Arial",
12,
CellColor.Automatic,
bold:=True,
italic:=True,
strikeout:=False,
underline:=UnderlineType.None)
' Center cell content.
cell.Format.Alignment = New AlignmentFormat(
SpreadsheetHorizontalAlignment.Center,
SpreadsheetVerticalAlignment.Center)
Using output As FileStream = File.Create("Formatted.xlsx")
workbook.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Sub
End Module
Documentation
#Tables, Sorting, and Filtering
Create and manage worksheet tables with configurable headers, total rows, and calculated columns. Sort worksheet data by one or more fields and filter rows based on column criteria.
The following code snippet creates a table from the A1:B4 cell range and applies a predefined table style:
using System.IO;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook(File.OpenRead("Document.xlsx"));
var worksheet = workbook.Worksheets[0];
// Create a table from the A1:B4 range (the first row is the header).
var table = new Table(0, 0, 4, 2, "Products");
worksheet.Tables.Add(table, true);
// Apply a predefined table style.
table.StyleName = PredefinedTableStyleNames.Medium2;
using var output = File.Create("Table.xlsx");
workbook.Save(output, DocumentFormat.Xlsx);
Imports System.IO
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook(File.OpenRead("Document.xlsx"))
Dim worksheet As Worksheet = workbook.Worksheets(0)
' Create a table from the A1:B4 range (the first row is the header).
Dim table As New Table(0, 0, 4, 2, "Products")
worksheet.Tables.Add(table, True)
' Apply a predefined table style.
table.StyleName = PredefinedTableStyleNames.Medium2
Using output As FileStream = File.Create("Table.xlsx")
workbook.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Sub
End Module
Documentation
#Charts, Pictures, and Shapes
Create and customize charts to visualize worksheet data. Configure chart titles, legends, axes, data labels, and series. You can add charts to worksheets or chart sheets.

Our Spreadsheet Document API also supports chart types introduced in Microsoft Excel 2016, including histogram, Pareto, waterfall, funnel, treemap, sunburst, and box-and-whisker charts.

You can also add pictures and drawing shapes to worksheets to illustrate data, highlight important information, and enhance worksheet presentation. Customize their position, size, and appearance to fit the worksheet layout.
The following code snippet creates a bar chart bound to worksheet data and adds the chart to the worksheet:
using System.Drawing;
using System.IO;
using DevExpress.Docs.Office;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook(File.OpenRead("Document.xlsx"));
var worksheet = workbook.Worksheets[0];
// Create a series bound to worksheet cells.
var series = new BarSeries {
Arguments = new ChartDataReference("A2", "A4"),
Values = new ChartDataReference("B2", "B4")
};
// Create a chart with a title.
var chart = new Chart();
chart.Series.Add(series);
chart.Title = new ChartTitle(new TextArea { Text = "Sales by Quarter" });
// Position the chart (in document units, 1/300 of an inch).
var anchor = chart.ShapeAnchor.AsAbsoluteAnchor();
anchor.Location = new PointF(900, 0);
anchor.Size = new SizeF(1500, 900);
worksheet.Shapes.Add(chart);
using var output = File.Create("Chart.xlsx");
workbook.Save(output, DocumentFormat.Xlsx);
Imports System.Drawing
Imports System.IO
Imports DevExpress.Docs.Office
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook(File.OpenRead("Document.xlsx"))
Dim worksheet As Worksheet = workbook.Worksheets(0)
' Create a series bound to worksheet cells.
Dim series As New BarSeries() With {
.Arguments = New ChartDataReference("A2", "A4"),
.Values = New ChartDataReference("B2", "B4")
}
' Create a chart with a title.
Dim chart As New Chart()
chart.Series.Add(series)
chart.Title = New ChartTitle(
New TextArea() With {.Text = "Sales by Quarter"})
' Position the chart (in document units, 1/300 of an inch).
Dim anchor As AbsoluteAnchor = chart.ShapeAnchor.AsAbsoluteAnchor()
anchor.Location = New PointF(900, 0)
anchor.Size = New SizeF(1500, 900)
worksheet.Shapes.Add(chart)
Using output As FileStream = File.Create("Chart.xlsx")
workbook.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Sub
End Module
Documentation
#Merge and Split Workbooks
Combine worksheets from multiple workbooks into a new workbook or append them to an existing workbook. The merge operation copies worksheets and chart sheets and resolves conflicts between sheet names, defined names, cell styles, table styles, and table names.
To split a workbook, call the Workbook.Extract(sheetIndexes) method and copy extracted sheets to a new workbook.
The following code snippet merges Cover.xlsx and Document.xlsx workbooks into a new workbook:
using System.IO;
using DevExpress.Docs.Spreadsheet;
using var cover = new Workbook(File.OpenRead("Cover.xlsx"));
using var report = new Workbook(File.OpenRead("Document.xlsx"));
// Merge the workbooks into a new workbook.
using var merged = Workbook.Merge(cover, report);
using var output = File.Create("Merged.xlsx");
merged.Save(output, DocumentFormat.Xlsx);
Imports System.IO
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using cover As New Workbook(File.OpenRead("Cover.xlsx")),
report As New Workbook(File.OpenRead("Document.xlsx"))
' Merge the workbooks into a new workbook.
Using merged As Workbook = Workbook.Merge(cover, report)
Using output As FileStream = File.Create("Merged.xlsx")
merged.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Using
End Sub
End Module
Documentation
#Document Security
Protect workbook structure and worksheets, lock cells, and restrict access to protected worksheet ranges. Encrypt workbooks with passwords and configure access permissions, including write access.
Our Spreadsheet Document API allows you to safely process untrusted documents. You can configure loading limits, remove potentially dangerous content during load operations, inspect hidden or potentially unsafe content. You can also sanitize workbooks before you share them to remove unwanted content.
The following code snippet protects the workbook structure and the first worksheet with passwords and allows users to format rows and columns on the protected worksheet:
using System.IO;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook(File.OpenRead("Document.xlsx"));
// Protect workbook structure.
workbook.Protect(new WorkbookProtectionOptions("workbook_password"));
// Protect the worksheet and allow row and column formatting.
var options = new WorksheetProtectionOptions("sheet_password") {
Permissions = WorksheetProtectionPermissions.Default
| WorksheetProtectionPermissions.FormatColumns
| WorksheetProtectionPermissions.FormatRows
};
workbook.Worksheets[0].Protect(options);
using var output = File.Create("Protected.xlsx");
workbook.Save(output, DocumentFormat.Xlsx);
Imports System.IO
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook(File.OpenRead("Document.xlsx"))
' Protect workbook structure.
workbook.Protect(
New WorkbookProtectionOptions("workbook_password"))
' Protect the worksheet and allow row and column formatting.
Dim options As New WorksheetProtectionOptions("sheet_password")
options.Permissions = WorksheetProtectionPermissions.Default Or
WorksheetProtectionPermissions.FormatColumns Or
WorksheetProtectionPermissions.FormatRows
workbook.Worksheets(0).Protect(options)
Using output As FileStream = File.Create("Protected.xlsx")
workbook.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Sub
End Module
Documentation
#PDF Export
Export entire workbooks or selected worksheets to PDF. Customize export settings and generate PDF documents that comply with PDF/A and PDF/UA standards.
The following code snippet exports a workbook to a PDF/UA-2 compliant PDF document:
using System.IO;
using DevExpress.Docs.Pdf;
using DevExpress.Docs.Spreadsheet;
using DevExpress.Docs.Spreadsheet.Export;
using var workbook = new Workbook(File.OpenRead("Document.xlsx"));
var exportOptions = new PdfExportOptions {
PdfUACompatibility = PdfUACompatibility.PdfUA2
};
using var output = File.Create("Document.pdf");
workbook.ExportToPdf(output, exportOptions);
Imports System.IO
Imports DevExpress.Docs.Pdf
Imports DevExpress.Docs.Spreadsheet
Imports DevExpress.Docs.Spreadsheet.Export
Module Program
Sub Main()
Using workbook As New Workbook(File.OpenRead("Document.xlsx"))
Dim exportOptions As New PdfExportOptions() With {
.PdfUACompatibility = PdfUACompatibility.PdfUA2
}
Using output As FileStream = File.Create("Document.pdf")
workbook.ExportToPdf(output, exportOptions)
End Using
End Using
End Sub
End Module
Documentation
#Document Properties and Defined Names
Read and modify built-in and custom document properties. Create and manage workbook-scoped and worksheet-scoped defined names to simplify formula references and spreadsheet model maintenance.
The following code snippet adds the TaxRate defined name, references the name in a formula, and specifies document properties:
using System.IO;
using DevExpress.Docs.Spreadsheet;
using var workbook = new Workbook();
var cells = workbook.Worksheets[0].Cells;
cells["B2"].Value = 0.2;
cells["C2"].Value = 500;
// Add a defined name and reference it in a formula.
workbook.DefinedNames.Add("TaxRate", "=Sheet1!$B$2");
cells["D2"].Formula = "=C2*TaxRate";
// Specify document properties.
var properties = workbook.DocumentProperties;
properties.Title = "Sales Report";
properties.Author = "John Doe";
properties.Subject = "Annual sales report";
using var output = File.Create("Document.xlsx");
workbook.Save(output, DocumentFormat.Xlsx);
Imports System.IO
Imports DevExpress.Docs.Spreadsheet
Module Program
Sub Main()
Using workbook As New Workbook()
Dim cells As CellCollection = workbook.Worksheets(0).Cells
cells("B2").Value = 0.2
cells("C2").Value = 500
' Add a defined name and reference it in a formula.
workbook.DefinedNames.Add("TaxRate", "=Sheet1!$B$2")
cells("D2").Formula = "=C2*TaxRate"
' Specify document properties.
Dim properties As DocumentProperties = workbook.DocumentProperties
properties.Title = "Sales Report"
properties.Author = "John Doe"
properties.Subject = "Annual sales report"
Using output As FileStream = File.Create("Document.xlsx")
workbook.Save(output, DocumentFormat.Xlsx)
End Using
End Using
End Sub
End Module
Documentation
New Object-Oriented Word Document API (CTP)
DevExpress Word Processing Document API (v26.2) introduces our new object-oriented .NET library (DevExpress.Docs.Word). Use it to create, load, modify, mail-merge, protect, and export Word documents. The new API library exposes a strongly typed document object model for use with document elements through a hierarchical structure. Create document objects independently, configure them before insertion, and generate document content with concise code.
The WordDocument class is the DevExpress.Docs.Word namespace is the entry point to the document model. The library targets .NET 10 and .NET Framework 4.6.2+.
IMPORTANT: The new DevExpress object-oriented Word Processing Document API library is currently available as a Community Technology Preview (CTP). We do not recommend the use of pre-release libraries within mission-critical software applications. Please explore the capabilities of this new library and share your feedback so that we can make necessary changes before official release. To start a conversation, submit a ticket via the DevExpress Support Center.
This new API library is available alongside our existing Word Processing Document API, which uses the RichEditDocumentServer class.
#Get Started
Install the DevExpress.Docs.Word NuGet package:
dotnet add package DevExpress.Docs.Word
The following code snippet creates a Word document, adds two paragraphs, saves the document to a DOCX file, and exports it to PDF:
using System.IO;
using DevExpress.Docs.Word;
using var document = new WordDocument();
// Add a bold title and a paragraph.
var title = new Paragraph();
title.InlineElements.Add(new TextFragment(
"Quarterly Report",
new CharacterProperties { Bold = true, FontSize = 16 }));
document.Body.Add(title);
document.Body.AddParagraph(
"Sales grew by 12% compared to the previous quarter.");
// Save to DOCX and export to PDF.
using (var docx = File.Create("Document.docx"))
document.Save(docx, DocumentFormat.Docx);
using (var pdf = File.Create("Document.pdf"))
document.ExportToPdf(pdf);
Imports System.IO
Imports DevExpress.Docs.Word
Module Program
Sub Main()
Using document As New WordDocument()
' Add a bold title and a paragraph.
Dim title As New Paragraph()
title.InlineElements.Add(New TextFragment(
"Quarterly Report",
New CharacterProperties() With {.Bold = True, .FontSize = 16}))
document.Body.Add(title)
document.Body.AddParagraph(
"Sales grew by 12% compared to the previous quarter.")
' Save to DOCX and export to PDF.
Using docx As FileStream = File.Create("Document.docx")
document.Save(docx, DocumentFormat.Docx)
End Using
Using pdf As FileStream = File.Create("Document.pdf")
document.ExportToPdf(pdf)
End Using
End Using
End Sub
End Module
Documentation
#Document Management
Create Word documents from scratch or load existing documents for further processing. Navigate the document object model to access, inspect and modify document content. Save documents in a supported format (DOC, DOCX, DOCM, DOTX, DOTM, Flat OPC, HTML, MHT, WordML, RTF, ODT, and TXT).
The following code snippet loads a Word document and saves it to RTF and DOC files:
using System.IO;
using DevExpress.Docs.Word;
using var document = new WordDocument(File.OpenRead("Document.docx"));
using (var rtf = File.Create("Document.rtf"))
document.Save(rtf, DocumentFormat.Rtf);
using (var doc = File.Create("Document.doc"))
document.Save(doc, DocumentFormat.Doc);
Imports System.IO
Imports DevExpress.Docs.Word
Module Program
Sub Main()
Using document As New WordDocument(File.OpenRead("Document.docx"))
Using rtf As FileStream = File.Create("Document.rtf")
document.Save(rtf, DocumentFormat.Rtf)
End Using
Using doc As FileStream = File.Create("Document.doc")
document.Save(doc, DocumentFormat.Doc)
End Using
End Using
End Sub
End Module
Documentation
#Text and Paragraph Management
Insert, extract, and modify text. Create and manage paragraphs and text runs to control document structure and apply formatting to selected text.
The following code snippet adds a paragraph with bold and italic text fragments, adds a plain paragraph, and extracts document text:
using System;
using DevExpress.Docs.Word;
using var document = new WordDocument();
// Add a paragraph with formatted text fragments.
var paragraph = new Paragraph();
paragraph.InlineElements.Add(new TextFragment(
"Important: ",
new CharacterProperties { Bold = true }));
paragraph.InlineElements.Add(new TextFragment(
"review the contract by Friday.",
new CharacterProperties { Italic = true }));
document.Body.Add(paragraph);
// Add a plain paragraph.
document.Body.AddParagraph("Contact the legal department with questions.");
// Extract document text.
Console.WriteLine(document.Body.GetText());
Imports System
Imports DevExpress.Docs.Word
Module Program
Sub Main()
Using document As New WordDocument()
' Add a paragraph with formatted text fragments.
Dim paragraph As New Paragraph()
paragraph.InlineElements.Add(New TextFragment(
"Important: ",
New CharacterProperties() With {.Bold = True}))
paragraph.InlineElements.Add(New TextFragment(
"review the contract by Friday.",
New CharacterProperties() With {.Italic = True}))
document.Body.Add(paragraph)
' Add a plain paragraph.
document.Body.AddParagraph(
"Contact the legal department with questions.")
' Extract document text.
Console.WriteLine(document.Body.GetText())
End Using
End Sub
End Module
Documentation
#Range-Based Operations
Read, insert, and delete content in specific sections of a document without changing remaining content.
The following code snippet gets the document range for a paragraph, prints range text to the console, and deletes the range:
using System;
using DevExpress.Docs.Word;
using var document = new WordDocument();
document.Body.AddParagraph("Quarterly Report");
var note = document.Body.AddParagraph("DRAFT: Do not distribute.");
// Get the range occupied by the paragraph and read its text.
var range = document.Body.GetRange(note);
Console.WriteLine(document.Body.GetText(range));
// Delete the range.
document.Body.Delete(range);
Console.WriteLine(document.Body.GetText());
Imports System
Imports DevExpress.Docs.Word
Module Program
Sub Main()
Using document As New WordDocument()
document.Body.AddParagraph("Quarterly Report")
Dim note As Paragraph =
document.Body.AddParagraph("DRAFT: Do not distribute.")
' Get the range occupied by the paragraph and read its text.
Dim range As DocumentRange = document.Body.GetRange(note)
Console.WriteLine(document.Body.GetText(range))
' Delete the range.
document.Body.Delete(range)
Console.WriteLine(document.Body.GetText())
End Using
End Sub
End Module
Documentation
#Document Formatting
Format text, paragraphs, and tables with direct formatting, reusable styles, and document themes. Customize fonts, colors, numbered and bulleted lists, and page settings. Modify theme color and font schemes or copy themes from other documents to maintain a consistent document appearance.
The following code snippet creates a paragraph style, applies the style to a heading, and applies direct formatting to the next paragraph:
using System.Drawing;
using System.IO;
using DevExpress.Docs;
using DevExpress.Docs.Word;
using var document = new WordDocument();
// Create a paragraph style and apply it to a heading.
var style = document.ParagraphStyles.Add("Report Heading");
style.CharacterProperties.Bold = true;
style.CharacterProperties.FontSize = 18;
var heading = document.Body.AddParagraph("Annual Report");
heading.StyleName = "Report Heading";
// Apply direct formatting to a paragraph.
var note = new Paragraph {
Properties = new ParagraphProperties {
Alignment = ParagraphAlignment.Center
}
};
note.InlineElements.Add(new TextFragment(
"All figures are in thousands of USD.",
new CharacterProperties {
Italic = true,
ForeColor = new OfficeColor(Color.DimGray)
}));
document.Body.Add(note);
using var output = File.Create("Document.docx");
document.Save(output, DocumentFormat.Docx);
Imports System.Drawing
Imports System.IO
Imports DevExpress.Docs
Imports DevExpress.Docs.Word
Module Program
Sub Main()
Using document As New WordDocument()
' Create a paragraph style and apply it to a heading.
Dim style As ParagraphStyle =
document.ParagraphStyles.Add("Report Heading")
style.CharacterProperties.Bold = True
style.CharacterProperties.FontSize = 18
Dim heading As Paragraph =
document.Body.AddParagraph("Annual Report")
heading.StyleName = "Report Heading"
' Apply direct formatting to a paragraph.
Dim note As New Paragraph() With {
.Properties = New ParagraphProperties() With {
.Alignment = ParagraphAlignment.Center
}
}
note.InlineElements.Add(New TextFragment(
"All figures are in thousands of USD.",
New CharacterProperties() With {
.Italic = True,
.ForeColor = New OfficeColor(Color.DimGray)
}))
document.Body.Add(note)
Using output As FileStream = File.Create("Document.docx")
document.Save(output, DocumentFormat.Docx)
End Using
End Using
End Sub
End Module
Documentation
#Sections, Headers and Footers, and Page Setup
Organize documents into sections and configure page layout settings, including paper size, orientation, margins, and gutter. Add reusable headers and footers for recurring content (such as report titles, company details, and page information).
The following code snippet specifies A4 landscape paper and page margins, and adds a header with the report title:
using System.IO;
using DevExpress.Docs.Word;
using DevExpress.Drawing.Printing;
using var document = new WordDocument();
document.Body.AddParagraph("Quarterly sales overview.");
// Configure page settings. Margins are in 1/300 of an inch.
var section = document.Sections[0];
section.Page.PaperKind = DXPaperKind.A4;
section.Page.Orientation = PageOrientation.Landscape;
section.Margins.Left = 300;
section.Margins.Right = 300;
// Add a header.
var header = new Header();
header.AddParagraph("Contoso Ltd. Quarterly Report");
section.Headers[HeaderFooterType.Odd] = header;
using var output = File.Create("Document.docx");
document.Save(output, DocumentFormat.Docx);
Imports System.IO
Imports DevExpress.Docs.Word
Imports DevExpress.Drawing.Printing
Module Program
Sub Main()
Using document As New WordDocument()
document.Body.AddParagraph("Quarterly sales overview.")
' Configure page settings. Margins are in 1/300 of an inch.
Dim section As Section = document.Sections(0)
section.Page.PaperKind = DXPaperKind.A4
section.Page.Orientation = PageOrientation.Landscape
section.Margins.Left = 300
section.Margins.Right = 300
' Add a header.
Dim header As New Header()
header.AddParagraph("Contoso Ltd. Quarterly Report")
section.Headers(HeaderFooterType.Odd) = header
Using output As FileStream = File.Create("Document.docx")
document.Save(output, DocumentFormat.Docx)
End Using
End Using
End Sub
End Module
Documentation
#Mail Merge and Fields
Generate personalized documents from templates (merge document content with data records). Insert document fields to display page numbers, total page counts, dates, and times.
Use simple data sources or master-detail relationships to generate invoices, letters, and reports in batches.
The following code snippet creates a template with a merge field, merges the template with a list of customers, and saves the merged document:
using System.Collections.Generic;
using System.IO;
using DevExpress.Docs.Word;
// Create a template with a merge field.
using var template = new WordDocument();
var paragraph = template.Body.AddParagraph("Dear ");
paragraph.InlineElements.Add(new Field("MERGEFIELD Name"));
paragraph.InlineElements.Add(new TextFragment(", thank you for your order."));
// Merge the template with data.
var customers = new List<Customer> {
new Customer { Name = "Alice Smith" },
new Customer { Name = "Bob Jones" }
};
using var merged = template.MailMerge(
new MailMergeOptions { DataSource = customers });
using var output = File.Create("Letters.docx");
merged.Save(output, DocumentFormat.Docx);
public class Customer {
public string Name { get; set; }
}
Imports System.Collections.Generic
Imports System.IO
Imports DevExpress.Docs.Word
Module Program
Sub Main()
' Create a template with a merge field.
Using template As New WordDocument()
Dim paragraph As Paragraph = template.Body.AddParagraph("Dear ")
paragraph.InlineElements.Add(New Field("MERGEFIELD Name"))
paragraph.InlineElements.Add(
New TextFragment(", thank you for your order."))
' Merge the template with data.
Dim customers As New List(Of Customer) From {
New Customer With {.Name = "Alice Smith"},
New Customer With {.Name = "Bob Jones"}
}
Using merged As WordDocument = template.MailMerge(
New MailMergeOptions With {.DataSource = customers})
Using output As FileStream = File.Create("Letters.docx")
merged.Save(output, DocumentFormat.Docx)
End Using
End Using
End Using
End Sub
End Module
Public Class Customer
Public Property Name As String
End Class
Documentation
#Tables
Insert and modify tables to present structured information. Customize table content, layout, and formatting for invoices, reports, and other business documents.
The following code snippet inserts a table with three rows and two columns and populates table cells with text:
using System.IO;
using DevExpress.Docs.Word;
string[,] data = {
{ "Product", "Price" },
{ "Chai", "$18.00" },
{ "Chang", "$19.00" }
};
using var document = new WordDocument();
// Create a table and populate its cells.
var table = new Table(3, 2);
for (int row = 0; row < 3; row++)
for (int column = 0; column < 2; column++)
table.Rows[row].Cells[column].Content.Add(
new Paragraph(data[row, column]));
document.Body.Add(table);
using var output = File.Create("Document.docx");
document.Save(output, DocumentFormat.Docx);
Imports System.IO
Imports DevExpress.Docs.Word
Module Program
Sub Main()
Dim data As String(,) = {
{"Product", "Price"},
{"Chai", "$18.00"},
{"Chang", "$19.00"}
}
Using document As New WordDocument()
' Create a table and populate its cells.
Dim table As New Table(3, 2)
For row As Integer = 0 To 2
For column As Integer = 0 To 1
table.Rows(row).Cells(column).Content.Add(
New Paragraph(data(row, column)))
Next
Next
document.Body.Add(table)
Using output As FileStream = File.Create("Document.docx")
document.Save(output, DocumentFormat.Docx)
End Using
End Using
End Sub
End Module
Documentation
#Charts, Images, and Shapes
Add charts, images, and drawing shapes to documents to visualize data, illustrate concepts, and enhance document presentation.
The following code snippet inserts a picture into a new paragraph and saves the document:
using System.IO;
using DevExpress.Docs.Word;
using DevExpress.Drawing;
using var document = new WordDocument(File.OpenRead("Document.docx"));
using var image = DXImage.FromStream(File.OpenRead("Image.png"));
// Insert the picture into a new paragraph.
var paragraph = document.Body.AddParagraph();
paragraph.InlineElements.Add(new PictureShape(image));
using var output = File.Create("Images.docx");
document.Save(output, DocumentFormat.Docx);
Imports System.IO
Imports DevExpress.Docs.Word
Imports DevExpress.Drawing
Module Program
Sub Main()
Using document As New WordDocument(File.OpenRead("Document.docx"))
Using image As DXImage =
DXImage.FromStream(File.OpenRead("Image.png"))
' Insert the picture into a new paragraph.
Dim paragraph As Paragraph = document.Body.AddParagraph()
paragraph.InlineElements.Add(New PictureShape(image))
Using output As FileStream = File.Create("Images.docx")
document.Save(output, DocumentFormat.Docx)
End Using
End Using
End Using
End Sub
End Module
Documentation
#Comments and Track Changes
Add comments and track changes to review document content, exchange feedback, and track edits during document revisions.
The following code snippet accepts all tracked changes in a document, adds a comment to the first paragraph, and saves the document:
using System.IO;
using DevExpress.Docs.Word;
using var document = new WordDocument(File.OpenRead("Document.docx"));
// Accept all tracked changes.
document.Revisions.AcceptAll();
// Add a comment to the first paragraph.
var range = document.Body.GetRange(document.Body[0]);
var comment = document.Comments.Create(
range,
new CommentDefinition { Author = "Jane Cooper" });
comment.Content.AddParagraph("Please verify this paragraph.");
using var output = File.Create("Reviewed.docx");
document.Save(output, DocumentFormat.Docx);
Imports System.IO
Imports DevExpress.Docs.Word
Module Program
Sub Main()
Using document As New WordDocument(File.OpenRead("Document.docx"))
' Accept all tracked changes.
document.Revisions.AcceptAll()
' Add a comment to the first paragraph.
Dim range As DocumentRange =
document.Body.GetRange(document.Body(0))
Dim comment As Comment = document.Comments.Create(
range,
New CommentDefinition With {.Author = "Jane Cooper"})
comment.Content.AddParagraph("Please verify this paragraph.")
Using output As FileStream = File.Create("Reviewed.docx")
document.Save(output, DocumentFormat.Docx)
End Using
End Using
End Sub
End Module
Documentation
#Document Security
Protect documents with password-based encryption and restrict editing through document-level and range-level permissions.
To safely process untrusted documents, configure security loading limits, remove potentially dangerous content during load operations, and sanitize documents before you share them. These capabilities reduce security risks when you process user-uploaded files and third-party documents.
The following code snippet only allows comments, encrypts the document with a password, and saves it:
using System.IO;
using DevExpress.Docs.Office;
using DevExpress.Docs.Word;
using var document = new WordDocument(File.OpenRead("Document.docx"));
// Allow users to only add comments.
document.Protect(new DocumentProtectionOptions("protection_password") {
ProtectionType = DocumentProtectionType.AllowComments
});
// Require a password to open the document.
document.Encrypt(new EncryptionOptions("open_password"));
using var output = File.Create("Protected.docx");
document.Save(output, DocumentFormat.Docx);
Imports System.IO
Imports DevExpress.Docs.Office
Imports DevExpress.Docs.Word
Module Program
Sub Main()
Using document As New WordDocument(File.OpenRead("Document.docx"))
' Allow users to only add comments.
document.Protect(
New DocumentProtectionOptions("protection_password") With {
.ProtectionType = DocumentProtectionType.AllowComments
})
' Require a password to open the document.
document.Encrypt(New EncryptionOptions("open_password"))
Using output As FileStream = File.Create("Protected.docx")
document.Save(output, DocumentFormat.Docx)
End Using
End Using
End Sub
End Module
Documentation
#PDF Export
Export Word documents to PDF for distribution, printing, and long-term archiving. Generate PDF documents that comply with PDF/A and PDF/UA standards.
The following code snippet exports a document to a PDF/A-2b compliant PDF file:
using System.IO;
using DevExpress.Docs.Pdf;
using DevExpress.Docs.Word;
using DevExpress.Docs.Word.Export;
using var document = new WordDocument(File.OpenRead("Document.docx"));
var options = new PdfExportOptions {
PdfACompatibility = PdfACompatibility.PdfA2b
};
using var output = File.Create("Document.pdf");
document.ExportToPdf(output, options);
Imports System.IO
Imports DevExpress.Docs.Pdf
Imports DevExpress.Docs.Word
Imports DevExpress.Docs.Word.Export
Module Program
Sub Main()
Using document As New WordDocument(File.OpenRead("Document.docx"))
Dim options As New PdfExportOptions() With {
.PdfACompatibility = PdfACompatibility.PdfA2b
}
Using output As FileStream = File.Create("Document.pdf")
document.ExportToPdf(output, options)
End Using
End Using
End Sub
End Module
Documentation
#Document Properties and Bookmarks
Read and modify both built-in and custom document properties (such as document title, author, and other metadata). Add bookmarks to mark specific locations in a document for easy navigation and content access.
The following code snippet specifies document properties, adds a bookmark to the first paragraph, and saves the document:
using System.IO;
using DevExpress.Docs.Word;
using var document = new WordDocument();
var intro = document.Body.AddParagraph("Introduction");
// Specify document properties.
document.DocumentProperties.Title = "Quarterly Report";
document.DocumentProperties.Author = "Jane Cooper";
document.DocumentProperties.Subject = "Sales results";
// Mark the first paragraph with a bookmark.
document.Bookmarks.Create(document.Body.GetRange(intro), "Introduction");
using var output = File.Create("Report.docx");
document.Save(output, DocumentFormat.Docx);
Imports System.IO
Imports DevExpress.Docs.Word
Module Program
Sub Main()
Using document As New WordDocument()
Dim intro As Paragraph =
document.Body.AddParagraph("Introduction")
' Specify document properties.
document.DocumentProperties.Title = "Quarterly Report"
document.DocumentProperties.Author = "Jane Cooper"
document.DocumentProperties.Subject = "Sales results"
' Mark the first paragraph with a bookmark.
document.Bookmarks.Create(
document.Body.GetRange(intro), "Introduction")
Using output As FileStream = File.Create("Report.docx")
document.Save(output, DocumentFormat.Docx)
End Using
End Using
End Sub
End Module
Documentation
PowerPoint Presentation API Enhancements
#Safer Document Processing
DevExpress Presentation API for .NET (v26.2) introduces our Safer Document Processing engine. This is a configurable security layer for applications that load presentations (PPTX, PPTM, and similar formats) from untrusted sources. Safer Document Processing targets documents from untrusted sources (such as user uploads, email attachments, and third-party integrations).
Safer Document Processing addresses the following security-related considerations:
- Security Loading Limits — Reject presentations that exceed configured structural limits before the API fully parses them.
- Dangerous Content Removal — Remove potentially dangerous content (such as macros, embedded objects, and unsafe links) during loading.
- Privacy Sanitization — Remove metadata, comments, speaker notes, and hidden content before you share or archive a presentation.
Security Loading Limits
Configure document limits before loading a presentation. Create a PresentationSecurityLoadingLimits object and assign it to the LoadOptions.SecurityLoadingLimits property.
You can set limits for the following document characteristics:
- Maximum allowed file size in bytes
- Maximum total number of XML elements across all document parts
- Maximum nesting depth of XML elements
- Maximum number of slides in a presentation
- Maximum number of shapes per slide
The following code snippet configures security loading limits and loads a presentation:
using System;
using System.IO;
using DevExpress.Docs.Presentation;
// Reject files that exceed specified limits.
var loadOptions = new LoadOptions {
SecurityLoadingLimits = new PresentationSecurityLoadingLimits {
MaxFileSize = 50L * 1024 * 1024, // 50 MB
MaxSlideCount = 100,
MaxShapeCountPerSlide = 500
}
};
using var input = File.OpenRead("Document.pptx");
using var presentation = new Presentation(input, loadOptions);
Console.WriteLine($"Loaded slides: {presentation.Slides.Count}");
Imports System
Imports System.IO
Imports DevExpress.Docs.Presentation
Module Program
Sub Main()
' Reject files that exceed specified limits.
Dim loadOptions As New LoadOptions() With {
.SecurityLoadingLimits =
New PresentationSecurityLoadingLimits() With {
.MaxFileSize = 50L * 1024 * 1024, ' 50 MB
.MaxSlideCount = 100,
.MaxShapeCountPerSlide = 500
}
}
Using input As FileStream = File.OpenRead("Document.pptx"),
presentation As New Presentation(input, loadOptions)
Console.WriteLine($"Loaded slides: {presentation.Slides.Count}")
End Using
End Sub
End Module
To handle limit violations, implement the ISecurityLoadingHandler interface and assign the implementation to the LoadOptions.SecurityLoadingHandler property. The ISecurityLoadingHandler.HandleLimitExceeded method returns a SecurityLimitAction value that specifies whether the API continues loading the file or throws an exception.
Documentation
Dangerous Content Removal
To remove potentially dangerous content when loading presentations, create a PresentationSecurityLoadingOptions object and assign it to the LoadOptions.SecurityLoadingOptions property.
Our Presentation API can remove the following content:
- Hyperlinks with unsafe URL protocols and UNC paths. The same protocol restrictions apply to hyperlinks in shapes and text. For shape hyperlinks, the API removes the URI.
- Image references that use restricted protocols (such as
file://) - OLE (Object Linking and Embedding) objects
- ActiveX controls
- Macros
- Custom XML
- Embedded chart data (workbooks)
The following code snippet removes potentially dangerous content when it loads a presentation:
using System.IO;
using DevExpress.Docs.Office;
using DevExpress.Docs.Presentation;
// Remove active content and external references during load.
var loadOptions = new LoadOptions {
SecurityLoadingOptions = new PresentationSecurityLoadingOptions {
RemoveActiveXContent = true,
RemoveCustomXMLParts = true,
RemoveEmbeddedChartData = true,
RemoveExternalImages = true,
RemoveMacros = true,
RemoveOleObjects = true,
RestrictedHyperlinkRemovalMode = RestrictedHyperlinkRemovalMode.Full
}
};
using var input = File.OpenRead("Document.pptx");
using var presentation = new Presentation(input, loadOptions);
using var output = File.Create("Safe.pptx");
presentation.Save(output);
Imports System.IO
Imports DevExpress.Docs.Office
Imports DevExpress.Docs.Presentation
Module Program
Sub Main()
' Remove active content and external references during load.
Dim loadOptions As New LoadOptions() With {
.SecurityLoadingOptions =
New PresentationSecurityLoadingOptions() With {
.RemoveActiveXContent = True,
.RemoveCustomXMLParts = True,
.RemoveEmbeddedChartData = True,
.RemoveExternalImages = True,
.RemoveMacros = True,
.RemoveOleObjects = True,
.RestrictedHyperlinkRemovalMode =
RestrictedHyperlinkRemovalMode.Full
}
}
Using input As FileStream = File.OpenRead("Document.pptx"),
presentation As New Presentation(input, loadOptions)
Using output As FileStream = File.Create("Safe.pptx")
presentation.Save(output)
End Using
End Using
End Sub
End Module
You can also implement the ISecurityLoadingHandler interface to handle content violations. The ISecurityLoadingHandler.HandleOptionsViolation method returns a SecurityViolationAction value that specifies whether the API retains or removes the content that triggered the violation.
Documentation
Document Inspection and Privacy Sanitization
v26.2 includes Presentation.Inspect and Presentation.Sanitize(options) methods. Use these methods to identify and remove personal data and internal organizational information before you share, publish, or archive presentations.
The Inspect method identifies potentially sensitive or unsafe content before you share, archive, or otherwise process a file. Use inspection results to log security and privacy issues, flag presentations for review, or decide what content to remove.
The Sanitize method permanently removes selected content from a presentation. You can create sanitization options from the inspection result or initialize them manually.
Sanitization APIs support the following content categories:
- Metadata
- Comments and speaker notes
- Hidden content
- Embedded chart data
The following code snippet inspects a presentation, removes detected private content, and saves the sanitized presentation:
using System;
using System.IO;
using DevExpress.Docs.Presentation;
using var input = File.OpenRead("Document.pptx");
using var presentation = new Presentation(input);
// Detect private and potentially dangerous content.
var inspectResult = presentation.Inspect();
foreach (var contentType in inspectResult.ContentTypes)
Console.WriteLine($"Detected: {contentType}");
// Remove detected content.
var sanitizeOptions = inspectResult.CreateSanitizeOptions();
foreach (var result in presentation.Sanitize(sanitizeOptions))
Console.WriteLine($"{result.Type}: {result.Action}");
using var output = File.Create("Sanitized.pptx");
presentation.Save(output);
Imports System
Imports System.IO
Imports DevExpress.Docs.Presentation
Module Program
Sub Main()
Using input As FileStream = File.OpenRead("Document.pptx"),
presentation As New Presentation(input)
' Detect private and potentially dangerous content.
Dim inspectResult As PresentationInspectResult =
presentation.Inspect()
For Each contentType As PresentationContentType In
inspectResult.ContentTypes
Console.WriteLine($"Detected: {contentType}")
Next
' Remove detected content.
Dim sanitizeOptions As PresentationSanitizeOptions =
inspectResult.CreateSanitizeOptions()
For Each result As PresentationSanitizeResult In
presentation.Sanitize(sanitizeOptions)
Console.WriteLine($"{result.Type}: {result.Action}")
Next
Using output As FileStream = File.Create("Sanitized.pptx")
presentation.Save(output)
End Using
End Using
End Sub
End Module
Documentation
#Hyperlink Support
DevExpress Presentation API (v26.2) allows you to create, read, modify, and remove hyperlinks within presentations. Hyperlinks can point to the following targets:
- Web addresses (URIs)
- Email addresses
- Specific slides within a presentation
- Slide show actions (such as navigation to the first, last, previous, next, or last viewed slide, and ending the slide show)
To assign a hyperlink to a shape, use the ShapeBase.Hyperlink property. To add a hyperlink to shape text, use the TextProperties.Hyperlink property of the corresponding text run.
The following code snippet adds a shape that navigates to the second slide and text that opens a web page, then saves the presentation and exports it to PDF:
using System.IO;
using DevExpress.Docs.Office;
using DevExpress.Docs.Presentation;
using var presentation = new Presentation();
presentation.Slides.Clear();
var first = new Slide(SlideLayoutType.Blank);
var second = new Slide(SlideLayoutType.Blank);
presentation.Slides.Add(first);
presentation.Slides.Add(second);
// Link a shape to the second slide.
var button = new Shape(ShapeType.Rectangle, 300, 300, 1200, 400) {
Hyperlink = new OfficeHyperlink(HyperlinkAction.CreateSlideJump(second)) {
ToolTip = "Go to slide 2"
}
};
first.Shapes.Add(button);
// Link text to a web page.
var link = new TextRun("devexpress.com") {
TextProperties = new TextProperties {
Hyperlink = new OfficeHyperlink(
HyperlinkAction.CreateUri("https://www.devexpress.com"))
}
};
var paragraph = new TextParagraph();
paragraph.Runs.Add(new TextRun("Visit "));
paragraph.Runs.Add(link);
var box = new Shape(ShapeType.Rectangle, 300, 900, 3000, 600) {
TextArea = new TextArea()
};
box.TextArea.Paragraphs.Add(paragraph);
first.Shapes.Add(box);
// Save the presentation and export it to PDF.
using (var pptx = File.Create("Hyperlinks.pptx"))
presentation.Save(pptx, DocumentFormat.Pptx);
using (var pdf = File.Create("Hyperlinks.pdf"))
presentation.ExportToPdf(pdf);
Imports System.IO
Imports DevExpress.Docs.Office
Imports DevExpress.Docs.Presentation
Module Program
Sub Main()
Using presentation As New Presentation()
presentation.Slides.Clear()
Dim first As New Slide(SlideLayoutType.Blank)
Dim second As New Slide(SlideLayoutType.Blank)
presentation.Slides.Add(first)
presentation.Slides.Add(second)
' Link a shape to the second slide.
Dim button As New Shape(
ShapeType.Rectangle, 300, 300, 1200, 400) With {
.Hyperlink = New OfficeHyperlink(
HyperlinkAction.CreateSlideJump(second)) With {
.ToolTip = "Go to slide 2"
}
}
first.Shapes.Add(button)
' Link text to a web page.
Dim link As New TextRun("devexpress.com") With {
.TextProperties = New TextProperties() With {
.Hyperlink = New OfficeHyperlink(
HyperlinkAction.CreateUri("https://www.devexpress.com"))
}
}
Dim paragraph As New TextParagraph()
paragraph.Runs.Add(New TextRun("Visit "))
paragraph.Runs.Add(link)
Dim box As New Shape(
ShapeType.Rectangle, 300, 900, 3000, 600) With {
.TextArea = New TextArea()
}
box.TextArea.Paragraphs.Add(paragraph)
first.Shapes.Add(box)
' Save the presentation and export it to PDF.
Using pptx As FileStream = File.Create("Hyperlinks.pptx")
presentation.Save(pptx, DocumentFormat.Pptx)
End Using
Using pdf As FileStream = File.Create("Hyperlinks.pdf")
presentation.ExportToPdf(pdf)
End Using
End Using
End Sub
End Module
Documentation
#Metadata in PDF Export
Presentation API (v26.2) exports presentation document properties as PDF metadata. Use the PdfExportOptions.MetadataExportMode property to specify how the API combines these properties with PDF metadata:
Merge — the API uses PDF export options and gets unspecified values from presentation document propertiesSourceDocumentProperties — the API uses presentation document propertiesPdfDocumentOptions — the API uses PDF export options
The following code snippet specifies the PDF title in export options. The exported PDF file gets the author from presentation document properties:
using System.IO;
using DevExpress.Docs.Pdf;
using DevExpress.Docs.Presentation;
using DevExpress.Docs.Presentation.Export;
using var presentation = new Presentation(File.OpenRead("Document.pptx"));
presentation.DocumentProperties.Author = "John Smith";
presentation.DocumentProperties.Title = "Draft";
// Specify the PDF title. Other metadata comes from the presentation.
var options = new PdfExportOptions {
MetadataExportMode = MetadataExportMode.Merge
};
options.DocumentOptions.Title = "Quarterly Report";
using var pdf = File.Create("Document.pdf");
presentation.ExportToPdf(pdf, options);
Imports System.IO
Imports DevExpress.Docs.Pdf
Imports DevExpress.Docs.Presentation
Imports DevExpress.Docs.Presentation.Export
Module Program
Sub Main()
Using presentation As New Presentation(File.OpenRead("Document.pptx"))
presentation.DocumentProperties.Author = "John Smith"
presentation.DocumentProperties.Title = "Draft"
' Specify the PDF title. Other metadata comes from the presentation.
Dim options As New PdfExportOptions() With {
.MetadataExportMode = MetadataExportMode.Merge
}
options.DocumentOptions.Title = "Quarterly Report"
Using pdf As FileStream = File.Create("Document.pdf")
presentation.ExportToPdf(pdf, options)
End Using
End Using
End Sub
End Module
Documentation
ZIP Compression and Archive API Enhancements
#Zip64 Support
DevExpress ZIP Compression and Archive API (v26.2) (ZipArchive class) supports the ZIP64 format. You can create and extract ZIP archives that exceed the limits of the original ZIP format. ZIP64 supports files larger than 4 GB and archives with more than 65,535 entries.
The ZipArchive class automatically writes ZIP64 data for entries larger than 4 GB.
Documentation
Word Processing Document API Enhancements
#Layout Precision Enhancements in PDF Export and Rendering
Our Word Processing engine (v26.2) uses floating-point values (Single, RectangleF, PointF, and SizeF) instead of integers to calculate document positions. This update improves layout precision and rendering fidelity when you export documents to PDF and image formats, print documents, or display them in DevExpress Rich Text Editors.
The engine now positions text and objects more accurately, handles tables and paragraphs with greater precision, and improves rendering compatibility with Microsoft Word.
Documentation
#PDF Structure Destinations and Field Tagging in PDF/UA-2 Export
The PDF export engine (v26.2) resolves navigation targets in PDF/UA-2 documents to PDF structure destinations instead of raw page coordinates. This behavior applies to links that target explicit bookmarks, TOC entries, and cross-reference fields. PDF viewers can navigate to corresponding locations in the document.
The PDF export engine also tags AcroForm fields for PDF/UA-2 compliance. You can export Word documents that contain content controls as accessible PDF forms.
Documentation
#Track Changes in Numbered Lists
Our Word Processing engine (v26.2) tracks changes to numbered lists and displays edits to list items as revisions. Users can review edits while preserving list numbering.
To accept or reject tracked changes, including changes in numbered lists, call the RevisionCollection.AcceptAll or RevisionCollection.RejectAll method.
Documentation
We released the first Community Technology Preview (CTP) of our Office & PDF File API for Java in September 2026 (v26.2.1). These API libraries allow you to create, edit, and export PDF documents and PowerPoint presentations, and generate barcodes in Java applications without Microsoft Office or Adobe Acrobat. API libraries are built on the document processing technology behind our Office & PDF File API for .NET.
This update extends our PDF Document API and Presentation API libraries:
- PDF Document API — digital signatures, document and page actions, PDF/A and PDF/UA validation and conversion, and automatic form field name conflict resolution
- Presentation API — charts, hyperlinks in shapes and text, and metadata options for PDF export
IMPORTANT: The DevExpress object-oriented Office & PDF File API for Java library is currently available as a Community Technology Preview (CTP). We do not recommend the use of pre-release libraries within mission-critical software applications.
Please explore the capabilities of this new library and share your feedback so that we can make necessary changes before official release. To start a conversation, submit a ticket via the DevExpress Support Center.
Install Java API Libraries
The DevExpress Office & PDF File API for Java requires JDK 21 or later and Maven 3.9+ or Gradle 8.14+. You can develop applications in IntelliJ IDEA, Eclipse, or VS Code with the Extension Pack for Java, and deploy them on Windows, Linux, and macOS, in Docker containers, and to Microsoft Azure and Amazon Web Services (AWS).
All three libraries are available as Maven packages on Maven Central. Add the libraries you need to a Maven or Gradle project:
dependencies {
implementation("com.devexpress:devexpress-docs-pdf:26.2.2")
implementation("com.devexpress:devexpress-docs-presentation:26.2.2")
implementation("com.devexpress:devexpress-docs-barcode:26.2.2")
}
<dependencies>
<dependency>
<groupId>com.devexpress</groupId>
<artifactId>devexpress-docs-pdf</artifactId>
<version>26.2.2</version>
</dependency>
<dependency>
<groupId>com.devexpress</groupId>
<artifactId>devexpress-docs-presentation</artifactId>
<version>26.2.2</version>
</dependency>
<dependency>
<groupId>com.devexpress</groupId>
<artifactId>devexpress-docs-barcode</artifactId>
<version>26.2.2</version>
</dependency>
</dependencies>
Our API libraries use Skia for rendering. Add the platform-specific native runtime dependencies (Skija, LWJGL, and LWJGL HarfBuzz) for your target platform (Windows x64, Linux x64, or macOS ARM64). Maven and Gradle do not resolve these dependencies transitively. To export presentations that contain 3D charts, also add LWJGL OpenGL.
Documentation
PDF Document API for Java
Our PDF Document API allows you to generate PDF documents, modify existing files, fill interactive forms, sign documents, and produce PDF/A and PDF/UA files in Java applications.
#Get Started
Add the devexpress-docs-pdf package to your project. The following code snippet creates a PDF document, adds a title and a paragraph to an A4 page, and saves the document:
import java.io.*;
import java.nio.file.*;
import com.devexpress.docs.pdf.*;
import com.devexpress.drawing.printing.*;
import com.devexpress.system.drawing.*;
public class Main {
public static void main(String[] args) throws Exception {
try (PdfDocument document = new PdfDocument()) {
Page page = document.getPages().add(DXPaperKind.A4);
// Add a title and a paragraph.
TextFragment title = new TextFragment();
title.setText("Quarterly Sales Report");
title.setLocation(new PointF(50, 770));
title.setFontSize(24);
page.addFragment(title);
ParagraphFragment paragraph = new ParagraphFragment();
paragraph.setText("This report summarizes sales data for Q3.");
paragraph.setLocation(new PointF(50, 730));
paragraph.setWidth(300);
page.addFragment(paragraph);
Files.createDirectories(Path.of("output"));
Path outputPath = Path.of("output", "Report.pdf");
try (OutputStream output = Files.newOutputStream(outputPath)) {
document.save(output);
}
}
}
}
Documentation
#PDF Document API Features
Create PDF documents
Add pages with text, images, shapes, and paths. Create reusable page templates.
Edit documents and pages
Load documents from streams and channels (including password-protected files), merge and split documents, search and replace text, transform page content, and attach files. Insert, remove, reorder, rotate, and resize pages.
Bookmarks and actions
Create nested bookmarks that navigate to pages, open web pages, or run actions. Specify actions that PDF viewers execute when a user opens, closes, prints, or saves a document.
Interactive forms
Create and edit form fields, read and modify field values, format values, and import or export form data. Detect and resolve form field name conflicts.
Annotations and flattening
Add and edit text markup, drawing, link, file attachment, watermark, stamp, and other annotations. Flatten form fields and annotations into static page content.
Security and digital signatures
Encrypt documents, specify user and owner passwords, and restrict printing, copying, and editing. Sign documents with X.509 certificates, certify documents, and lock form fields. Create PAdES signatures, add trusted timestamps from a TSA server, and customize signature appearance. Save changes as incremental updates to preserve existing signatures. Verify signatures and access signing certificates.
Accessibility and compliance
Generate tagged PDF documents, validate documents against PDF/A and PDF/UA standards, convert documents to PDF/A and PDF/UA, and generate ZUGFeRD-compliant invoices.
Optimization, metadata, and export
Compress images and remove unnecessary content to reduce file size. Read and write document metadata. Export pages to images.
PowerPoint Presentation API for Java
The DevExpress Presentation API allows you to create, load, modify, and export presentations in Java applications without Microsoft PowerPoint. The library reads and writes PPTX, PPTM, POTX, and POTM files.
#Get Started
Add the devexpress-docs-presentation package to your project. The following code snippet creates a presentation with a slide that contains a text shape, saves the presentation, and exports it to PDF:
import java.io.*;
import java.nio.file.*;
import com.devexpress.docs.office.*;
import com.devexpress.docs.presentation.*;
public class Main {
public static void main(String[] args) throws Exception {
try (Presentation presentation = new Presentation()) {
presentation.getSlides().clear();
Slide slide = new Slide(SlideLayoutType.BLANK);
presentation.getSlides().add(slide);
// Add a shape with text to the slide.
Shape shape =
new Shape(ShapeType.getRectangle(), 300, 300, 3000, 800);
shape.setTextArea(new TextArea("Quarterly Sales Report"));
slide.getShapes().add(shape);
// Save the presentation and export it to PDF.
Files.createDirectories(Path.of("output"));
try (OutputStream pptx = Files.newOutputStream(
Path.of("output", "Report.pptx"))) {
presentation.save(pptx);
}
try (OutputStream pdf = Files.newOutputStream(
Path.of("output", "Report.pdf"))) {
presentation.exportToPdf(pdf);
}
}
}
}
Documentation
#Presentation API Features
Presentations
Create, load, save, merge, and split presentations, and extract text, images, and other content.
Slides, masters, and layouts
Add, reorder, duplicate, and remove slides. Apply predefined slide layouts or configure custom slide masters and layouts. Specify slide background, size, orientation, and footer settings.
Shapes, text, and tables
Add text boxes, pictures, geometric shapes, connectors, and shape groups. Format text, create tables with merged and split cells, and add hyperlinks to shapes and text.
Charts
Create standard charts (such as bar, line, pie, and 3D charts), chart types introduced in Microsoft Excel 2016 (such as waterfall, funnel, and treemap charts), and combo charts. Bind series to chart data cells or specify data in code. Customize axes, data labels, legends, error bars, and trend lines.

Notes, metadata, themes, and views
Add speaker notes, read and modify document properties, apply themes, and specify the initial presentation view.
Export
Export presentations to PDF (including document metadata and hyperlinks) and export slides to images.
Security and Safer Document Processing
Encrypt presentations and protect them from editing with a password. Limit file size and structural complexity when you load presentations from untrusted sources, remove potentially dangerous content, and inspect and sanitize presentations before you share them.
Barcode Generation API for Java
Our Barcode Generation API allows you to generate 1D and 2D barcodes in Java applications and export them to images and PDF documents.

#Get Started
Add the devexpress-docs-barcode package to your project. The following code snippet configures QR Code options with a fluent builder and exports a QR Code to a PNG image:
import java.io.*;
import java.nio.file.*;
import com.devexpress.docs.barcode.*;
public class Main {
public static void main(String[] args) throws Exception {
// Configure QR Code options.
QRCodeOptions options = QRCodeOptionsBuilder.create()
.withErrorCorrectionLevel(QRCodeErrorCorrectionLevel.H)
.withModuleSize(10)
.withShowText(false)
.build();
// Export the QR Code to a PNG image.
Files.createDirectories(Path.of("output"));
Path outputPath = Path.of("output", "QRCode.png");
try (OutputStream output = Files.newOutputStream(outputPath);
BarcodeGenerator generator = new BarcodeGenerator(options)) {
generator.export("https://www.devexpress.com", output);
}
}
}
Documentation
#Features
Barcode types
Generate 1D barcodes (such as Code 128, Code 39, EAN, UPC, GS1 DataBar, and Intelligent Mail) and 2D barcodes (QR Code, Micro QR Code, GS1 QR Code, EPC QR Code, Data Matrix, GS1 Data Matrix, PDF417, and Aztec Code).
Barcode Types
Barcode options
Specify common settings (such as colors, module size, text, and padding) and symbology-specific settings. Use fluent builders to configure options with chained method calls. Add a logo and a decorative frame to a QR Code.
Barcode Options
Export
Export barcodes to image streams, in-memory images, vector images, and PDF documents.
Export Barcodes to Images and PDF
Demos
Explore Office & PDF File API demos in the following GitHub repository. Each project is a standalone Java application that demonstrates a specific API feature.
Demos (Java)
Security and Dependency Updates
#.NET 11 Support
DevExpress XAF Blazor/WinForms, Web API Service, and the XPO ORM library now support .NET 11 (both v26.1.7+ and v26.2).
#.NET 10 and Visual Studio 2026 - Minimally Supported Versions
.NET 8 and .NET 9 reached End of Support on November 10, 2026. The minimum supported versions for .NET/.NET Core-based DevExpress product libraries are .NET 10 and Visual Studio 2026. Learn more about this global change in the following announcement.
The DevExpress Project Converter automatically re-targets your XAF projects to .NET 10 to simplify migration.
Documentation

#Entity Framework Core 11 for Data Access
v26.2 added official support for the most recent version of Entity Framework (EF Core 11) to our XAF Blazor/WinForms UI and Web API Service. We also updated our performance benchmarks - comparing EF Core 11 with XPO.
While EF Core 11 introduces performance and customization improvements, it also includes breaking changes that require updates on our side. Not all EF Core database providers currently offer EF Core 11-compatible NuGet packages (for instance, Oracle.EntityFrameworkCore is unsupported).
#Middle-Tier Security — Stricter Application Model Permissions
Previously, XAF applications that stored Application Model differences in a database granted the Middle-Tier application server pre-login read/write access to ModelDifferenceXXX types. This access may expose sensitive XAFML settings. XAF v26.2 restricts these permissions to help protect sensitive settings and meet strict security requirements.
To allow anonymous access to model differences, call the AddSharedModelDifferences method in the application builder:
MySolution.MiddleTier\Program.cs
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddXafMiddleTier(builder.Configuration, xafBuilder => {
xafBuilder.Security
.UseIntegratedMode(options => {
//...
options.Events.OnSecurityStrategyCreated = securityStrategy => {
((SecurityStrategy)securityStrategy).AnonymousAllowedTypes.AddSharedModelDifferences<ModelDifference>();
};
})
}
Breaking Change Article: XAF Security — More granular Anonymous Access Control (AnonymousAllowedTypes)
#WCF Dependency Removed from XPO and Printing Core Libraries
DevExpress.Xpo no longer depends on Windows Communication Foundation (WCF). This change also removes references to packages with disclosed vulnerabilities, including System.Security.Cryptography.Xml.
.NET Framework applications that require WCF functionality can use the new DevExpress.Xpo.Services library. The Project Converter automatically updates project references and helps prevent upgrade issues.
Breaking Change article
XAF Blazor
#List Editor Context Menu Enhancements
DevExpress XAF Grid and TreeList List Editors now use the native Blazor context menu. The menu includes standard grid commands such as Column Chooser, Filter Builder, Sort Ascending, Clear Grouping, Find Panel, and Best Fit. You can customize default menu items using built-in APIs (for instance, DxTreeListModel.CustomizeContextMenu and DxTreeListModel.ContextMenus).
We also added new context menu commands for runtime total/group summary customization in v26.2.
Documentation

#Blazor Pivot Grid Module — Official Release
The XAF Blazor Pivot Grid module is now shipping with updated demos, documentation, and full test coverage.

#Native Blazor Filter Builder Integration — Official Release (v26.1.5+)
PopupCriteriaPropertyEditor and CriteriaPropertyEditor are now default criteria editors in XAF-powered Blazor applications. Both editors are based on the DevExpress Blazor Filter Builder component and offer simplified localization, improved performance, and native support for Blazor themes/palettes. They are optimized for complex data models, support collection operations, and include plain-text criteria input and validation. We addressed numerous issues reported during beta testing and improved stability, reliability, and overall user experience of our Filter Builder integration.
Our previous JS-based PopupFilterPropertyEditor and FilterPropertyEditor components are now in maintenance mode. We will not introduce new functionality for these components and plan to remove them in future release cycles. We recommend that you migrate to the new native Blazor Property Editors as soon as possible.

#DevExpress Icon Library Integration
With v26.2, XAF WinForms and XAF Blazor use DevExpress Icon Library as the default icon source. The library includes the full DevExpress Fluent icon set. You can switch between Classic and Fluent icon styles at the application level. Use the Image Picker in the Model Editor to select and save icons from the new library. Existing image/icon references continue to work without changes.
Note: Dashboard Viewer and Report Designer do not support Fluent icon styles (as these components are based on DevExtreme).

#Template Kit Enhancements
XAF project templates now use the ASP.NET Core minimal hosting model and the Blazor Web App project template. This simplifies application structure and reduces the number of project files and boilerplate code. You can continue using existing application structure or migrate to the new template.
MyDXApplication.Blazor.Server\Program.cs
//...
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSingleton(typeof(Microsoft.AspNetCore.SignalR.HubConnectionHandler<>), typeof(ProxyHubConnectionHandler<>));
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents();
builder.Services.AddXaf(builder.Configuration, xafBuilder => {
xafBuilder.UseApplication<MyDXApplicationBlazorApplication>();
xafBuilder.Modules
.AddConditionalAppearance()
// ...
});
WebApplication app = builder.Build();
//...
Documentation
#New Electron.NET GitHub Examples
Our new Electron.NET example demonstrates how to build cross-platform desktop applications with XAF Blazor and Middle-Tier Security and deploy them to Windows/macOS from a single codebase.

Artificial Intelligence (AI)
#AI Integration Module — Official Release
Our AI Integration Module is now ready for production use. Use it to integrate native AI Chat to your XAF-powered Blazor and WinForms applications. With AI Tool Calling, DevExpress AI Chat Controls can invoke application methods at runtime in response to natural language prompts.
Call UseDXTools in the application builder to activate AI Tool Calling. Apply the [AIIntegrationTool] attribute to application methods to expose them as tools. Use the [Description] attribute to add human-readable descriptions for tools and their parameters. Refer to the following MainDemo app files for a practical implementation info:
- MainDemo.Blazor.Server\Program.cs / MainDemo.Win\ApplicationBuilder.cs — Registers AI Chat.
- MainDemo.Module\Controllers\AI\*.cs — Implements custom AI tools.
- MainDemo.Blazor.Server\Controllers\AI\CustomAIAssistantController.cs / MainDemo.Win\Controllers\AI\CustomAIAssistantController.cs — Customizes AI Chat.
- MainDemo.Module\MainDemoModule.cs (
TaskActionModelNodesUpdater class) — Adds descriptions for application Actions.
The MainDemo application includes the following AI tools:
- Action Tools (ActionsAIToolsController.cs) — Provide access to available Actions in the current and main windows. Users can invoke Actions using natural language prompts. For instance:
Postpone the selected tasks or Set the priority of the selected tasks to High. - Navigation Tools (NavigationAIToolsController.cs) — Navigate to application sections and customize navigation items. The assistant identifies items by name and executes the requested operation. For instance:
Open the Tasks list or Rename the Payroll navigation item to Paychecks. - List View Tools (ListViewAIToolsController.cs) — Group, sort, and filter the active List View using natural language. For instance:
Group tasks by status or Sort by due date, latest first. - Task Business Object Tools (DemoTaskAIToolsController.cs) — Create and manage Task business objects through natural language prompts. For instance:
Create a high-priority task named "Prepare Q4 budget review", due next Friday, with an estimated effort of 6 hours. The assistant converts the prompt into a typed CreateTaskDto object and opens the new task in the Detail View for review. The task is saved to the database after the user clicks Save. The demo also includes a MarkTasksCompleted operation that finds tasks matching a natural language filter, marks them as completed, and immediately saves changes. - Employee Creation Tools (EmployeeCreationAIToolsController.cs) — Create Employee objects from natural language descriptions. The assistant extracts employee information (including name, email address, phone number, and department) and opens the new employee in the Detail View for review. The user must explicitly save the object. For instance:
Add a new employee: Anna Miller, anna.miller@example.com, phone 555-0142, Development Department. - User and Permissions Information Tools (DataQueryAIToolsController.cs) — Retrieve information about the current user's permissions and assigned roles. These read-only tools display results directly in the chat as an HTML table. For instance:
What permissions do I have? - Form-Filling Tool (SmartPasteAIToolsController.cs) — Populate fields in the currently open Detail View using information extracted from natural language text. This tool uses existing Smart Paste functionality. For instance:
Fill in this form: Anna Miller, anna.miller@example.com, born 12 May 1990.
The following code snippet from MainDemo.Module\Controllers\AI\ActionsAIToolsController.cs exposes an application Action as an AI tool:
public class ActionsAIToolsController : AIToolsControllerBase {
[Description("Invokes an action by its exact ID from GetAvailableActions. " +
"For single choice, provide the choice's exact ID. For a parameter, provide its value.")]
public async Task<string> InvokeAction(
[Description("Exact action ID returned by GetAvailableActions.")] string actionId,
[Description("Optional choice item exact ID, or parameter value.")] string actionArgument = null) {
ActionBase action = GetSupportedActions().FirstOrDefault(candidate => candidate.Id == actionId);
if(action == null) {
throw new ArgumentException($"The action '{actionId}' is not available in the current view.", nameof(actionId));
}
await Application.ServiceProvider.GetRequiredService<IAIToolsActionExecutionService>()
.ExecuteActionWithConfirmation(action, actionArgument);
return "Action is executed successfully.";
}
}

Localization / Globalization
#Blazor UI — Right to Left (RTL) Support (CTP)
DevExpress Blazor components and XAF Blazor support Right-to-Left (RTL) layouts (available as a Community Technology Preview in our v26.2 release cycle). Teams building applications for Arabic, Hebrew, and other RTL languages can activate RTL across XAF Blazor UI elements, including our grids, editors, navigation, and form layouts (using a project-level option, without CSS or other workarounds).

#New Localization Tool Integration
In v26.2, you can export Application Model strings customized in the Model Editor and import them into the DevExpress Localization Tool for translation (without editing files manually). This extends the tool's support for strings from standard XAF modules (first introduced in v26.1).

#Web Localization Service — Supported Versions Limited to v23.2+
User translations for v23.1 and earlier releases are no longer available through the Web Localization Service UI (view, edit, download, create). DevExpress retains these translations. You can request your old translation archives by submitting a ticket via the DevExpress Support Center.
Breaking Change article
Ready to evaluate DevExpress VCL v26.2?
Download BETA and Install
Accessibility, Microsoft UI Automation, and Keyboard Navigation Enhancements
Accessibility (A11Y) support remains a primary focus area across all DevExpress product libraries.
#VCL Spreadsheet
UIA client applications/assistive tools (such as Microsoft Narrator) can now read focused cell information and editor states in the TdxSpreadSheet control, its built-in editors, and the auxiliary TdxSpreadSheetFormulaBar control.
Use TdxSpreadSheet.Automation and TdxSpreadSheetFormulaBar.Automation properties to configure UI Automation for root UIA nodes of VCL Spreadsheet controls.
#VCL Vertical Grid
VCL Vertical Grid controls now support UI Automation: assistive tools can read the focused cell value and row/column information, and interact with in-place editors.
#Data Editors and Navigation/Utility UI Controls
VCL Data Editors: We added UI Automation support for the following editors: TdxColorEdit, TcxMRUEdit, TdxTokenEdit, TdxBarCode, TcxImage. Refer to the following help topic section for a complete list of supported unbound and data-aware editors: Accessibility Support — Editors.
Use the Properties.Automation to customize UI Automation node settings.
Gallery Controls: TdxGalleryControl, TdxColorGallery, TdxDBColorGallery, and TdxRibbonBackstageViewGalleryControl.
Navigation and Utility UI Controls: TdxStatusBar, TdxRibbonStatusBar, TcxDateNavigator, and TdxRibbonBackstageViewGalleryControl.
#Keyboard Navigation Enhancements
When TdxNavBarOfficeNavigationBar has focus, users can press arrow keys to navigate between items/navigation links. Enter/Space keys activate the focused link.
We will continue to expand accessibility support for DevExpress VCL Scheduler, Pivot Grid, and Data Editors in future release cycles.
Documentation: Accessibility Support
AI Agent Skills
v26.2 ships with 14 self-contained agent skills for DevExpress VCL Components. Our skills combine verified DFM patterns and documentation access to help AI coding assistants generate accurate, production-ready VCL code.
- Editors and dialogs (1 skill) — 40+ standalone and in-place editors, style controllers, and skinnable dialogs.
- Data display (5 skills) — Data grids, tree lists, vertical property grids, pivot tables, and the underlying data-controller engine.
- Commands and navigation (2 skills) — Ribbon interfaces, toolbars, status bars, and collapsible navigation panels.
- Layouts and Containers (4 skills) — Adaptive form layouts, dockable panels, tabbed sheet controls, and interactive tile dashboards.
- Appearance and styling (2 skills) — Vector skins, color palettes, high-DPI scaling, and automated SVG icon embedding.
- VCL Reports (1 skill) — Report Designer and Viewer.
Skills follow the open Agent Skills standard and work with Kai for RAD Studio, Claude Code, GitHub Copilot, Cursor, Gemini CLI, and other modern AI tools.
Install our Agent Skills from the DevExpress Agent Skills GitHub repository.
VCL Reports and BI Dashboard Enhancements
v26.2 includes the following enhancements to both ExpressReports and ExpressDashboards (available in our new VCL Subscription+).
Additional VCL Template Kit Options
All Reporting & Data Analytics templates in our VCL Template Kit now include data source, layout storage, and layout type options. You can configure an application with built-in reporting/data analytics capabilities directly in the Template Kit, with no need to combine code from multiple GitHub examples/docs.

All DevExpress VCL Reports and BI Dashboard project/form templates (including Application Builder) include the following options:
- Data Source: Choose from three storage options for sample data: Relational Database (SQL), VCL-compatible dataset (FireDAC), or in-memory storage (JSON). The VCL Template Kit automatically adds and configures all required data storage components.
- Layout Storage: Select the desired storage option for report/BI dashboard layout definitions: DFM/Form, database table, or an XML/REPX file.
- Layout Type: The VCL Template Kit can generate reports/BI dashboards with predefined layouts. For reports, choose Table, Master-Detail, or Side-by-Side. For dashboards, choose Bubble Map, Sales Summary, or YTD Performance.
#Additional Learning Materials
Step-by-step tutorials: Walk through common setup scenarios from initial configuration to final document output.
Report & Dashboard: Configure parameters to filter data and collect user input at runtime without template changes.
Data transformation: Compute custom metrics, expressions, and summaries directly on the presentation tier without changes to your database schema.
API references:
#VCL Reports — AI Agent Skill
Our new agent skill helps AI coding assistants add reporting capabilities to Delphi and C++Builder apps. Use the skill to:
-
Create report layouts (including master-detail reports, parameters, filters, and summaries).
-
Connect reports to SQL databases, JSON data, and VCL datasets.
-
Add VCL Report components to an application.
-
Save and load report layouts.
-
Export reports without user interaction (for instance, in backend/service apps).
-
Set interface languages and regional formats.
-
Troubleshoot issues.
The skill can query the DevExpress Documentation MCP Server for additional API info.
The following benchmark compares code generation results with and without the skill across 15 Delphi projects:
| AI Model | Success Rate Without the Skill | Success Rate With the Skill |
| Claude Haiku 5.5 | 53% | 100% |
| Claude Sonnet 5.5 | 46% | 100% |
Fluent UI Support
v26.2 adds new Fluent UI-inspired project/form templates to our VCL Template Kit. We also updated the Mail Client Demo with a modern design inspired by Microsoft Fluent 2 and recent versions of Outlook and Teams apps.
#WYSIWYG Form Design
The DevExpress Skin Engine now applies a skin/palette to all form areas and supported UI controls at design time. Forms look the same in both the designer and at runtime (design-time selector tools remain unaffected).

#New Fluent UI Project Template
Our VCL Template Kit now includes a Fluent UI-inspired project template with preconfigured Ribbon UI and navigation controls (similar to our Mail Client Demo).

#Updated Mail Client Demo
We updated our Mail Client Demo so it adheres to Microsoft Fluent 2 guidelines and recent versions of Outlook and Teams:

VCL Template Kit — New Form Templates and Additional Project Template Options
Application/Project and Form/User Control Wizard dialogs display common and template-specific settings in the right panel.

#New "About" Form Templates
You can now choose between two About form layouts — standard and compact:

#New Splash and Wait Form Templates
Our Form/User Control Wizard now includes three Splash and Wait form templates (in addition to customization options available in the VCL Splash Form Manager):

Documentation: VCL Template Kit | Splash and Wait Form Templates
VCL Splash Screen Manager — Official Release
The DevExpress VCL Splash Form Manager (TdxSplashFormManager) is now ready for production use. The manager simplifies the creation and management of splash screens, wait forms, and overlay forms. The updated Splash Form Designer dialog includes new transparency effects for Splash and Wait forms.

Documentation: Splash Forms | Splash and Wait Form Templates
VCL Demo Source Code on GitHub
All DevExpress VCL showcase and product demos are now available on GitHub. You can explore sample projects without installing our demos locally and leverage GitHub features such as repository search.
Browse, clone, and run demo projects with your existing tools and workflows, or use them as reference materials for AI coding assistants.
RAD Studio v13.2 Support
Our latest release (VCL v26.2.2+) officially supports recent versions of RAD Studio (Delphi 13.2 and C++Builder 13.2 for both 32-bit and 64-bit compilers).