Share via


Shape.StrokeEndLineCap 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 end of a line.

Namespace:  System.Windows.Shapes
Assembly:  System.Windows (in System.Windows.dll)

Syntax

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

Property Value

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

Remarks

Dependency property identifier field: StrokeEndLineCapProperty

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

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

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

Platforms

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