Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.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