Skip to main content
All docs
V24.1

DXPen.DashStyle Property

Gets or sets the style applied to dashed lines.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public DXDashStyle DashStyle { get; set; }

Property Value

Type Description
DXDashStyle

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