Name

DashStyle

Synopsis

This enumeration specifies the dash pattern of a line. You can set a dash pattern using the System.Drawing.Pen.DashStyle property.


public enum DashStyle {

   Solid = 0,

   Dash = 1,

   Dot = 2,

   DashDot = 3,

   DashDotDot = 4,

   Custom = 5

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) DashStyle

Returned By

System.Drawing.Pen.DashStyle

Passed To

System.Drawing.Pen.DashStyle

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.