DashStyle

System.Drawing.Drawing2D.DashStyle

Namespace: System.Drawing.Drawing2D

Assembly: System.Drawing.Managed (4.0.0.0)

Specifies the style of dashed lines drawn with a Pen object.

public enum DashStyle : Enum

Fields

Name
Description

Custom

Specifies a user-defined custom dash style.

Dash

Specifies a line consisting of dashes.

DashDot

Specifies a line consisting of a repeating pattern of dash-dot.

DashDotDot

Specifies a line consisting of a repeating pattern of dash-dot-dot.

Dot

Specifies a line consisting of dots.

Solid

Specifies a solid line.

Used By

Name
Description

Gets or sets the style used for dashed lines drawn with this Pen.

Last updated

Was this helpful?