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.

DashStyles.Dash Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a DashStyle with a Dashes property equal to 2,2.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public static DashStyle Dash { get; }

Property Value

Type: System.Windows.Media.DashStyle

A dash sequence of 2,2, which describes a sequence composed of a dash that is twice as long as the pen Thickness followed by a space that is twice as long as the Thickness.

The following illustration shows examples of different dash styles applied to an underline.

Shows several different dash styles.

<object property ="{ DashStyles.Dash}"/>

.NET Framework
Available since 3.0
Return to top
© 2017 Microsoft