Enum DashStyle

DashStyle enumeration

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

public enum DashStyle

Values

NameValueDescription
Solid0Specifies a solid line.
Dash1Specifies a line consisting of dashes.
Dot2Specifies a line consisting of dots.
DashDot3Specifies a line consisting of a repeating pattern of dash-dot.
DashDotDot4Specifies a line consisting of a repeating pattern of dash-dot-dot.
Custom5Specifies a user-defined custom dash style.

See Also