The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
All docs
V19.2
19.2
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SpreadsheetCompatibilityOptions.EnableLegacyLayoutEngine Property

Gets or sets whether to use the legacy layout calculation engine.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

public bool EnableLegacyLayoutEngine { get; set; }
Public Property EnableLegacyLayoutEngine As Boolean
public bool EnableLegacyLayoutEngine { get; set; }
Public Property EnableLegacyLayoutEngine As Boolean
public bool EnableLegacyLayoutEngine { get; set; }
Public Property EnableLegacyLayoutEngine As Boolean

Property Value

Type Description
Boolean

true, to enable the legacy layout engine; otherwise, false. The default value is false.

Property Value

Type Description
Boolean

true, to enable the legacy layout engine; otherwise, false. The default value is false.

Property Value

Type Description
Boolean

true, to enable the legacy layout engine; otherwise, false. The default value is false.

Remarks

The WinForms Spreadsheet control and Spreadsheet Document API introduced a new layout calculation engine in v19.1. Its advantages are as follows:

  • Increased layout calculation performance and improved layout accuracy.

  • Optimized render and scroll performance for the Spreadsheet control.

  • The ability to display, print and export (to PDF) rich formatted cell text.

  • Support for rich text and inline images in headers and footers.

  • Enhanced printing capabilities: you can specify print titles outside the print area.

  • Support for the SpreadsheetHorizontalAlignment.CenterContinuous alignment option.

  • The CustomDrawCell and CustomDrawCellBackground events fire for all cells in the visible worksheet area.

After the update, the Spreadsheet may slightly change how it renders and prints certain documents. Activate the EnableLegacyLayoutEngine property to disable the new layout engine and its features.

Disable the new layout engine for a Workbook instance.

workbook.Options.Compatibility.EnableLegacyLayoutEngine = true;

Disable the new layout engine for the Spreadsheet control.

spreadsheetControl.Options.Compatibility.EnableLegacyLayoutEngine = true;
See Also