All docs
V20.2
21.1 (EAP/Beta)
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.

CrossTabLayoutOptions.DataFieldLayout Property

Specifies how to arrange two or more data fields in the Cross Tab layout.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v20.2.dll

Declaration

[DefaultValue(DataFieldLayout.InRow)]
public virtual DataFieldLayout DataFieldLayout { get; set; }

Property Value

Type Default Description
DataFieldLayout

InRow

The data field layout.

Property Paths

You can access this nested property as listed below:

Object Type Path to DataFieldLayout
XRCrossTab
.LayoutOptions.DataFieldLayout

Remarks

This property is in effect when the Cross Tab contains two or more data source fields (in the DataFields collection). In this case, the Cross Tab also displays data field headers to distinguish between data values.

At design time, you can set the DataFieldLayout property in the Cross Tab’s smart tag or in the Properties window’s LayoutOptions group.

This property provides the following values:

  • InRow (Default)

    Data field values are arranged in a row one after another. Data field headers are displayed as column headers.

  • InColumn

    Data field values are arranged in a column one under another. Data field headers are displayed as row headers.

If you want to hide data field headers, select the corresponding Cross Tab cell and disable the XRCrossTabCell.RowVisible/XRCrossTabCell.ColumnVisible property.

See Also