編輯

共用方式為


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
DashStyles

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

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

DashDot

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

DashDotDot

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

Dot

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

Solid

Gets a DashStyle with an empty Dashes property.

Applies to

See also