Shape.StrokeStartLineCap Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)


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


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.