Back to Devexpress

XRCrossTab.HeaderAreaStyleName Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcrosstab-db338d8c.md

latest1.8 KB
Original Source

XRCrossTab.HeaderAreaStyleName Property

Specifies the style name for the header area.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

The style name.

|

Remarks

Use the HeaderAreaStyleName property to assign a style to the Cross Tab control’s header 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 HeaderAreaStyleName property.

To specify the header area style at design time, use the CrossTabStyles.HeaderAreaStyle property.

See Also

XRCrossTab Class

XRCrossTab Members

DevExpress.XtraReports.UI Namespace