Rediger

Del via


DashStyles.Dash Property

Definition

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

public:
 static property System::Windows::Media::DashStyle ^ Dash { System::Windows::Media::DashStyle ^ get(); };
public static System.Windows.Media.DashStyle Dash { get; }
static member Dash : System.Windows.Media.DashStyle
Public Shared ReadOnly Property Dash As DashStyle

Property Value

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.

Remarks

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

Shows several different dash styles.

XAML Attribute Usage

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

Applies to