Skip to main content

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.1.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