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.GeneralStyleName Property

Specifies the general style’s name.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

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

#Property Value

Type Default Description
String String.Empty

The style name.

#Remarks

Use the GeneralStyleName property to assign a general style to the Cross Tab control at runtime. This style provides common appearance settings that apply to all Cross Tab cells.

  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 GeneralStyleName property.

To specify the general style at design time, use the CrossTabStyles.GeneralStyle property.

See Also