Back to Devexpress

CrossTabLayoutOptions.CornerHeaderDisplayMode Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-crosstablayoutoptions-6fef1a7c.md

latest3.3 KB
Original Source

CrossTabLayoutOptions.CornerHeaderDisplayMode Property

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

Namespace : DevExpress.XtraReports.UI.CrossTab

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(CornerHeaderDisplayMode.RowFieldNames)]
public virtual CornerHeaderDisplayMode CornerHeaderDisplayMode { get; set; }
vb
<DefaultValue(CornerHeaderDisplayMode.RowFieldNames)>
Public Overridable Property CornerHeaderDisplayMode As CornerHeaderDisplayMode

Property Value

TypeDefaultDescription
CornerHeaderDisplayModeRowFieldNames

The Cross Tab corner’s display mode.

|

Available values:

NameDescription
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 TypePath 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)

  • ColumnFieldNames

  • None

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

CrossTabLayoutOptions Class

CrossTabLayoutOptions Members

DevExpress.XtraReports.UI.CrossTab Namespace