All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
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.

UserDesignerOptions.DefaultCrossTabControl Property

Specifies the default control used to present cross-tab data (XRCrossTab or XRPivotGrid).

Namespace: DevExpress.XtraReports.Configuration

Assembly: DevExpress.XtraReports.v21.1.dll

Declaration

public DefaultCrossTabControl DefaultCrossTabControl { get; set; }

Property Value

Type Description
DefaultCrossTabControl

The control to display cross-tab data.

Property Paths

You can access this nested property as listed below:

Object Type Path to DefaultCrossTabControl
Settings
.UserDesignerOptions.DefaultCrossTabControl

Remarks

The DefaultCrossTabControl option is in effect only for the Visual Studio Report Designer and WinForms End-User Report Designer.

In Visual Studio at design time, you can access this option in the Report Designer Options dialog.

To specify the default control to present cross-tab data in the WinForms End-User Report Designer, set the DefaultCrossTabControl option at the application’s startup.

static class Program {
    static void Main() {
        DevExpress.XtraReports.Configuration.Settings.Default.UserDesignerOptions.DefaultCrossTabControl = 
            DevExpress.XtraReports.Design.DefaultCrossTabControl.XRPivotGrid;
        // ...
    }
}

The table below describes how this option affects reports and the Report Designer’s tools.

Feature

DefaultCrossTabControl = XRCrossTab

DefaultCrossTabControl = XRPivotGrid

Support in Reports

You can use both XRCrossTab and XRPivotGrid controls in a report regardless of the DefaultCrossTabControl property value.

Toolbox

The Toolbox contains the XRCrossTab.

The Toolbox contains the XRPivotGrid.

Cross-Tab Report Wizard

The Report Wizard contains the Cross-Tab Report option.

The Report Wizard does not support cross-tab reports.

Conversion

You can convert the XRPivotGrid to the XRCrossTab.

If the conversion result does not suit your requirements, you can restore the original XRPivotGrid.

You cannot convert XRCrossTab and XRPivotGrid to each other.

See Also