Shape.StrokeDashCap Property

July 28, 2014

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:
© 2014 Microsoft