Skip to main content

XRCrossTab.GeneralStyleName Property

Specifies the general style’s name.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.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