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

XRCrossTab.DataAreaStyleName Property

Specifies the style name for the data area.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[Browsable(false)]
[DefaultValue("")]
public virtual string DataAreaStyleName { get; set; }

#Property Value

Type Default Description
String String.Empty

The style name.

#Remarks

Use the DataAreaStyleName property to assign a style to the Cross Tab control’s data area at runtime.

  1. Create an XRControlStyle class object.
  2. Specify its appearance properties.
  3. Add it to the XtraReport.StyleSheet collection.
  4. Assign this style to the DataAreaStyleName property.

To specify the data area style at design time, use the CrossTabStyles.DataAreaStyle property.

See Also