Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRShape.LineStyle Property

Gets or sets the paint style of the line which is used to draw the shape image.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[DefaultValue(DXDashStyle.Solid)]
[SRCategory(ReportStringId.CatAppearance)]
public DXDashStyle LineStyle { get; set; }

#Property Value

Type Default Description
DXDashStyle Solid

An enumeration value that indicates the dash style.

Available values:

Name Description
Solid

A solid line.

Dash

A line that consists of short dashes.

Dot

A line that consists of dots.

DashDot

A line that consists of a repeating short dash-dot pattern.

DashDotDot

A line that consists of a repeating short dash-dot-dot pattern.

Custom

A user-defined dash style.

See Also