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

ColorScheme(String, String, Color, Color, Color, Color, Color, Color, Color) Constructor

Initializes a new instance of the ColorScheme class with the specified scheme’s display name and color components.

Namespace: DevExpress.XtraReports.Wizards.ColorSchemes

Assembly: DevExpress.XtraReports.v19.1.dll

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

Declaration

public ColorScheme(
    string name,
    string displayName,
    Color detail1Caption,
    Color detail2Caption,
    Color detail3Caption,
    Color detail1Odd,
    Color color1,
    Color color2,
    Color color3
)

Parameters

Name Type Description
name String

A string that specifies the color scheme name.

displayName String

A string that specifies the color scheme name displayed on the Choose a Report Color Scheme wizard page.

detail1Caption Color

A Color value that specifies the background color for captions on the master-detail report’s first level.

detail2Caption Color

A Color value that specifies the background color for captions on the master-detail report’s second level.

detail3Caption Color

A Color value that specifies the background color for captions on the master-detail report’s third level and captions on deeper levels.

detail1Odd Color

A Color value that specifies the background color for the report control that displays an odd record from the bound dataset.

color1 Color

A Color value specifying foreground color for the report title and the Page Info control.

color2 Color

A Color value that specifies the background color for the report control on the Group Footer band of the master-detail report’s third level and deeper levels.

color3 Color

A Color value that specifies the the foreground color for the master-detail report’s total captions.

See Also