Skip to main content
All docs
V24.2

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

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

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

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.

padding PaddingInfo

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

See Also