Skip to main content
All docs
V24.1

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

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

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

Parameters

Name Type Description
backColor Color

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

borderColor Color

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

sides BorderSide

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

borderWidth Single

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

font DXFont

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

foreColor Color

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.

See Also