Pen::DashStyle Property
.NET Framework (current version)
Gets or sets the style used for dashed lines drawn with this Pen.
Assembly: System.Drawing (in System.Drawing.dll)
| Exception | Condition |
|---|---|
| ArgumentException |
A value of Custom for this property specifies that a custom pattern of dashes and spaces, defined by the DashPattern property, makes up lines drawn with this Pen. If the value of this property is Custom and the value of the DashPattern property is null, the pen draws solid lines.
.NET Framework
Available since 1.1
Available since 1.1
Show: