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

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

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

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

Declaration

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

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 Font

A Font 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.

padding PaddingInfo

A PaddingInfo object. This value is assigned to the XRControlStyle.Padding property.

borderDashStyle BorderDashStyle

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

See Also