StrokeDashCap Property

Shape.StrokeDashCap Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Windows.Shapes
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public PenLineCap StrokeDashCap { get; set; }
<object StrokeDashCap="penLineCapMemberName"/>

Property Value

Type: System.Windows.Media.PenLineCap
One of the enumeration values for PenLineCap. The default is Flat.

Dependency property identifier field: StrokeDashCapProperty

This setting applies to both ends of each dash.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft