Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Shape.StrokeDashCap Property

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

Namespace: System.Windows.Shapes
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:

public PenLineCap StrokeDashCap { get; set; }
/** @property */
public PenLineCap get_StrokeDashCap ()

/** @property */
public void set_StrokeDashCap (PenLineCap value)

public function get StrokeDashCap () : PenLineCap

public function set StrokeDashCap (value : PenLineCap)

<object StrokeDashCap="PenLineCap" .../>

Property Value

One of the enumeration values for PenLineCap. The default is Flat.

This setting applies to both ends of each dash.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
© 2018 Microsoft