Shape.StrokeStartLineCap 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 describes the Shape at the start of a Stroke.

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


Public Property StrokeStartLineCap As PenLineCap
public PenLineCap StrokeStartLineCap { get; set; }
<object StrokeStartLineCap="penLineCapMemberName"/>

Property Value

Type: System.Windows.Media..::.PenLineCap
A value of the PenLineCap enumeration that specifies the shape at the start of a Stroke. The default is Flat.


Dependency property identifier field: StrokeStartLineCapProperty

This property has no effect if you set it on a shape that has no Stroke or that has no start or end points. For example, this property has no effect if you set it on an Ellipse, which has a closed stroke.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


Shape Class

System.Windows.Shapes Namespace