DashStyle
Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing.Managed (4.0.0.0)
Specifies the style of dashed lines drawn with a Pen object.
- C#
- VB.NET
public enum DashStyle : Enum
Public Enum DashStyle As [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 |
|---|---|
| Pen.DashStyle | Gets or sets the style used for dashed lines drawn with this Pen. |