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

XRControlStyle Class

An individual style object that is also a base for all conditional formatting objects.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public class XRControlStyle :
    BrickStyle,
    IXRSerializable,
    IComponent,
    IDisposable

Remarks

The appearance of any report control, band or a report itself is usually specified by a set of its appearance properties. However, it is also possible to create a style (represented by an instance of the XRControlStyle class) and apply it to multiple report elements. To do this, add this style to a report’s XtraReport.StyleSheet, and specify its name for the XRControl.StyleName, XRControl.EvenStyleName or XRControl.OddStyleName property.

For more information on using styles, please refer to the Report Visual Styles document.

The following code snippets (auto-collected from DevExpress Examples) contain references to the XRControlStyle class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also