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

XRControlStyleSheet.Add(String, XRControlStyle) Method

OBSOLETE

Use Add(XRControlStyle style)

Adds the style with the specified name to the XRControlStyleSheet instance.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[Obsolete("Use Add(XRControlStyle style)")]
public void Add(
    string name,
    XRControlStyle style
)

#Parameters

Name Type Description
name String

A string containing the name of the style to add to the XRControlStyleSheet.

style XRControlStyle

An XRControlStyle object to be added to the XRControlStyleSheet.

#Remarks

This method is now obsolete. Use the XRControlStyleSheet.Add method which takes only a style parameter instead.

See Also