Share via


PenSettings.DashCap Property

Definition

Gets or sets the cap style used at the end of the dashes that make up dashed lines drawn with this PenStyleSetInfo object. Only allows the change if the property is not immutable and sets the override flags appropriately.

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

Property Value

A DashCap enumeration that represents the cap style used at the beginning and end of the dashes that make up dashed lines drawn with this PenStyleSetInfo object.

Applies to