Back to Devexpress

XRCrossTab.DataAreaStyleName Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcrosstab-4b8efef9.md

latest1.8 KB
Original Source

XRCrossTab.DataAreaStyleName Property

Specifies the style name for the data area.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[Browsable(false)]
[DefaultValue("")]
public virtual string DataAreaStyleName { get; set; }
vb
<Browsable(False)>
<DefaultValue("")>
Public Overridable Property DataAreaStyleName As String

Property Value

TypeDefaultDescription
StringString.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

XRCrossTab Class

XRCrossTab Members

DevExpress.XtraReports.UI Namespace