[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Implementation Details
   [Expand]Grid View Data Layout
   [Expand]Binding to Data
   [Expand]Master-Detail Data Representation
   [Expand]Data Editing and Validation
   [Expand]Filtering and Searching
   [Expand]Data Summaries
   [Expand]Paging and Scrolling
   [Expand]Focus and Navigation
   [Expand]Conditional Formatting
   [Expand]Appearance Customization
   [Expand]MVVM Enhancements
   [Expand]Printing and Exporting
   [Expand]End-User Interaction
   [Collapse]Performance Improvement
     Optimized Mode
     Processing Large Volumes of Data
     Parallelizing Data-Intensive Operations
     Real-Time Data Management
     Improving the Scrolling Experience
     Frequent Update Performance Enhancement
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]End-User Capabilities
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Optimized Mode

Starting from version 14.1, the GridControl introduces optimized mode. It is enabled by default and provides a greatly improved scrolling performance and a reduced load time for hot starts after loading the first instance.

Expanded In-place Editing

In optimized mode GridControl uses the new DevExpress.Xpf.Editors.InplaceBaseEdit editor to display cells content. It is used for different column types - Text, ComboBox and even CheckBox columns. This is a special lightweight editor that does not have a default visual tree.

Setting in-place editors with the DataViewBase.CellTemplate property generates unoptimized editors. To use optimized editors, place a DevExpress.Xpf.Editors.InplaceBaseEdit editor with the Name property set to “PART_Editor” inside the cell template. With this approach, the editor settings are taken from the ColumnBase.EditSettings property of the GridColumn.

Since implicit editor styles do not work in optimized mode, either use a style for DevExpress.Xpf.Editors.InplaceBaseEdit or create the required editor using the DataViewBase.CellTemplate. To set a custom style for the editor in edit mode, use the EditCoreStyle property of DevExpress.Xpf.Editors.InplaceBaseEdit.


In optimized mode the DataViewBase.ShowEditor method doesn't set the DataViewBase.ActiveEditor property value. To access the active editor, use the GridViewBase.ShownEditor's EditorEventArgs.Editor property. In TreeListView, use the TreeListView.ShownEditor's TreeListEditorEventArgs.Editor property.

The following editors support the optimized mode.

Expanded Row and Cell Resources

When the GridControl is in optimized mode, it uses special lightweight visual elements and templates. Thus, custom styles or resources that were working in previous versions may not work in 14.1 by default. To provide compatibility with older versions, set the TableView.UseLightweightTemplates property to None to enable the previous version of the visual tree. To migrate an application created in version 13.2 or older, rewrite the overridden resources for new visual elements. Below is a table with the corresponding elements of both modes.

Unoptimized Mode

Optimized Mode






DevExpress.Xpf.Grid.DetailRowsIndentControl -




DevExpress.Xpf.Grid.GroupRowContentPresenter DevExpress.Xpf.Grid.GroupRowControl

The following public styles require another target type in optimized mode.

For TableView.RowStyle, the target type is DevExpress.Xpf.Grid.RowControl.

For DataViewBase.CellStyle, the target type is DevExpress.Xpf.Grid.LightweightCellEditor.

The base style is as follows.


If the view's cell or row styles and templates are set before the TableView.UseLightweightTemplates property, they are initiated with types that are not allowed in optimized mode. Then, the TableView.UseLightweightTemplates property is set and exceptions are raised because the styles and templates set earlier are not correct. To prevent these exceptions from being raised, set the view's DataViewBase.DisableOptimizedModeVerification static property to true.

Expanded Limitations

Expanded Examples

Expanded See Also

Is this topic helpful?​​​​​​​