The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.2.dll

Declaration

public XRControlStyle(
    Color backColor,
    Color borderColor,
    BorderSide sides,
    float borderWidth,
    Font font,
    Color foreColor,
    TextAlignment textAlignment,
    PaddingInfo padding,
    BorderDashStyle borderDashStyle
)
Public Sub New(
    backColor As Color,
    borderColor As Color,
    sides As BorderSide,
    borderWidth As Single,
    font As Font,
    foreColor As Color,
    textAlignment As TextAlignment,
    padding As PaddingInfo,
    borderDashStyle As 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