Compartilhar via


PenSettings.DashStyle Property

Definition

Gets or sets the style used for dashed lines drawn with this Pen object. Only allows the change if the property is not immutable and sets the override flags appropriately.

public:
 property System::Drawing::Drawing2D::DashStyle DashStyle { System::Drawing::Drawing2D::DashStyle get(); void set(System::Drawing::Drawing2D::DashStyle value); };
public System.Drawing.Drawing2D.DashStyle DashStyle { get; set; }
member this.DashStyle : System.Drawing.Drawing2D.DashStyle with get, set
Public Property DashStyle As DashStyle

Property Value

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

Applies to