DashStyles DashStyles DashStyles DashStyles Class

Definition

Implements a set of predefined DashStyle objects.

public ref class DashStyles abstract sealed
public static class DashStyles
type DashStyles = class
Public Class DashStyles
Inheritance
DashStylesDashStylesDashStylesDashStyles

Remarks

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

Shows several different dash styles.

XAML Text Usage

You cannot declare this managed class in XAML, but you can use its static properties to assign values in XAML.

Properties

Dash Dash Dash Dash

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

DashDot DashDot DashDot DashDot

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

DashDotDot DashDotDot DashDotDot DashDotDot

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

Dot Dot Dot Dot

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

Solid Solid Solid Solid

Gets a DashStyle with an empty Dashes property.

Applies to

See also