Back to Devexpress

XRCrossTab.GeneralStyleName Property

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

latest1.9 KB
Original Source

XRCrossTab.GeneralStyleName Property

Specifies the general style’s name.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

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

Property Value

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

XRCrossTab Class

XRCrossTab Members

DevExpress.XtraReports.UI Namespace