wpf-devexpress-data-grid

Build WPF applications with the DevExpress GridControl for data display and editing.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/AleksaRistic216/dotnet-playground --skill wpf-devexpress-data-grid-aleksaristic216
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wpf-devexpress-data-grid
Source: https://github.com/AleksaRistic216/dotnet-playground/tree/main/.github/skills/wpf/wpf-devexpress-data-grid
Command: npx skills add https://github.com/AleksaRistic216/dotnet-playground --skill wpf-devexpress-data-grid-aleksaristic216

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires DevExpress.Wpf.Grid.Core, DevExpress.Wpf.Grid, DevExpress.Wpf.Printing, and includes references (resource) components.

What problem does it solve? Implementing a full-featured data grid in WPF requires deep knowledge of the DevExpress GridControl API surface—data binding modes, views, editors, validation, and export—and mistakes often only surface at build or runtime. This Skill provides verified guidance, decision matrices, and working code patterns so you configure the grid correctly the first time. ## Core Features & Use Cases - Data Binding & Large Datasets: Bind GridControl to local collections, Entity Framework Core, XPO, server-mode sources, or virtual sources for millions of rows. - Full Feature Configuration: Set up columns, bands, sorting, filtering, grouping, summaries, master-detail, conditional formatting, validation, drag-and-drop, and printing/exporting (XLSX/CSV/PDF). - Use Case: You need a WPF order-management screen where users edit rows with ComboBox editors, validate input via MVVM commands, group by customer, and export the result to Excel—this Skill walks you through each step with verified XAML and C#. ## Quick Start Ask the assistant to add a DevExpress GridControl bound to an ObservableCollection of orders in a net8.0-windows WPF project with sorting, grouping, and a total summary.

Frequently Asked Questions about wpf-devexpress-data-grid

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a DevExpress GridControl to a WPF project?

Install the DevExpress.Wpf.Grid.Core NuGet package, target net8.0-windows with UseWPF enabled, and declare the dxg namespace in XAML. Then add a GridControl with ItemsSource bound to your collection and a TableView as its View.

How do I bind the WPF Data Grid to Entity Framework Core?

Bind ItemsSource to a DbSet or its Local collection for small data, or use EntityServerModeSource and EntityInstantFeedbackSource for large datasets. Server mode pushes sorting, filtering, and grouping to the database but has feature limitations.

Does DevExpress WPF GridControl support .NET 8?

Yes, GridControl supports .NET 6, 7, 8 and later as well as .NET Framework 4.6.2+. The project must target a Windows TFM such as net8.0-windows with UseWPF set to true, and a valid DevExpress license is required.

GridControl vs standard WPF DataGrid: what is different?

GridControl is not API-compatible with System.Windows.Controls.DataGrid. It replaces DataGridTextColumn with GridColumn, RowDetailsTemplate with DataControlDetailDescriptor, and adds built-in server mode, summaries, conditional formatting, and data-aware export.

Why does my GridControl show no rows or columns?

Empty rows usually mean ItemsSource is null or DataContext is not wired. Missing columns happen when AutoGenerateColumns is None and no GridColumn elements are defined; set AutoGenerateColumns to AddNew or define columns explicitly.

What are the limitations of server mode in the DevExpress WPF grid?

Server mode does not support display-text sorting and filtering, custom sort logic, master-detail, or TreeListView. Virtual sources additionally disable some features by default, such as grouping and search highlighting, so verify feature support before choosing a large-data strategy.