Dash Property
Collapse the table of content
Expand the table of content

DashStyles.Dash Property


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
© 2016 Microsoft