DashStyles.Dash Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
Show: