Skip to main content

XRControlStyle.BorderDashStyle Property

Gets or sets the border dash style stored in this style.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[SRCategory(ReportStringId.CatAppearance)]
public override BorderDashStyle BorderDashStyle { get; set; }

Property Value

Type Description
BorderDashStyle

A BorderDashStyle enumeration value. The default is value BorderDashStyle.Solid.

Available values:

Name Description
Solid

Specifies a solid line.

Dash

Specifies a line consisting of dashes.

Dot

Specifies a line consisting of dots.

DashDot

Specifies a line consisting of a repeating dash-dot pattern. Not supported in HTML (becomes visible as Dash)

DashDotDot

Specifies a line consisting of a repeating dash-dot-dot pattern. Not supported in HTML (becomes visible as Dash)

Double

Specifies a double solid line.

Remarks

The BorderDashStyle property specifies the border dash style to be set to a control’s XRControl.BorderDashStyle property when the current style is applied to it. Note that if the BorderDashStyle property’s value is not set for the current XRControlStyle object, its value is treated as empty. This means that when a style is applied to a control, the control’s BorderDashStyle property value isn’t changed. For more information on this concept, please refer to Report Visual Styles.

Note

The BorderDashStyle property is not applicable to all report controls. For example, the XRPageBreak class ignores the BorderDashStyle property.

See Also