Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CrossTabLayoutOptions.CornerHeaderDisplayMode Property

Specifies what data the Cross Tab should display in the top left corner.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[DefaultValue(CornerHeaderDisplayMode.RowFieldNames)]
public virtual CornerHeaderDisplayMode CornerHeaderDisplayMode { get; set; }

#Property Value

Type Default Description
CornerHeaderDisplayMode RowFieldNames

The Cross Tab corner’s display mode.

Available values:

Name Description
None

The top left cell spans multiple rows and columns and does not display text. The number of column and row fields (the ColumnFields and RowFields collections) defines the number of spanned rows and columns.

RowFieldNames

The top left corner is split into columns. The number of columns equals the number of row fields (the RowFields collection). Each cell displays the corresponding row field’s caption.

ColumnFieldNames

The top left corner is split into rows. The number of rows equals the number of column fields (the ColumnFields collection). Each cell displays the corresponding column field’s caption.

#Property Paths

You can access this nested property as listed below:

Object Type Path to CornerHeaderDisplayMode
XRCrossTab
.LayoutOptions .CornerHeaderDisplayMode

#Remarks

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

This property provides the following values:

  • RowFieldNames (Default)

    The top left corner is split into columns. The number of columns equals the number of row fields (the RowFields collection). Each cell displays the corresponding row field’s caption.

  • ColumnFieldNames

    The top left corner is split into rows. The number of rows equals the number of column fields (the ColumnFields collection). Each cell displays the corresponding column field’s caption.

  • None

    The top left cell spans multiple rows and columns and does not display text. The number of column and row fields (the ColumnFields and RowFields collections) defines the number of spanned rows and columns.

After you select the display mode, you can double-click a corner cell to invoke an in-place editor and type your custom text. You can specify the text in the None mode as well.

See Also