XRControlStyle(Color, Color, BorderSide, Single, Font, Color, TextAlignment) Constructor

Initializes a new instance of the XRControlStyle class with the specified settings.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.1.dll

Syntax

public XRControlStyle(
    Color backColor,
    Color borderColor,
    BorderSide sides,
    float borderWidth,
    Font font,
    Color foreColor,
    TextAlignment textAlignment
)

Parameters

Type Name Description
Color backColor

A Color structure. This value is assigned to the XRControlStyle.BackColor property.

Color borderColor

A Color structure. This value is assigned to the XRControlStyle.BorderColor property.

BorderSide sides

A BorderSide enumeration value. This value is assigned to the XRControlStyle.Sides property.

Single borderWidth

A Single value. This value is assigned to the XRControlStyle.BorderWidth property.

Font font

A Font value. This value is assigned to the XRControlStyle.Font property.

Color foreColor

A Color structure. This value is assigned to the XRControlStyle.ForeColor property.

TextAlignment textAlignment

A TextAlignment enumeration value. This value is assigned to the XRControlStyle.TextAlignment property.