Pen.DashStyle

Pen.DashStyle property

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

public DashStyle DashStyle { get; set; }

Return 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 Pens class.

See Also