DashStyle

Pen.DashStyle property

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

public DashStyle DashStyle { get; set; }

Property Value

A DashStyle that represents the style used for dashed lines drawn with this Pen.

Exceptions

exceptioncondition
ArgumentExceptionThe DashStyle property is set on an immutable Pen, such as those returned by the Pen class.

See Also