Shape.StrokeDashCap Property

Definition

Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn.

Equivalent WinUI property: Microsoft.UI.Xaml.Shapes.Shape.StrokeDashCap.

public:
 property PenLineCap StrokeDashCap { PenLineCap get(); void set(PenLineCap value); };
PenLineCap StrokeDashCap();

void StrokeDashCap(PenLineCap value);
public PenLineCap StrokeDashCap { get; set; }
var penLineCap = shape.strokeDashCap;
shape.strokeDashCap = penLineCap;
Public Property StrokeDashCap As PenLineCap
<shape StrokeDashCap="penLineCapMemberName"/>

Property Value

PenLineCap

One of the enumeration values for PenLineCap. The default is Flat.

Applies to