DashStyles 類別

定義

實作一組預先定義的 DashStyle 物件。

public ref class DashStyles abstract sealed
public static class DashStyles
type DashStyles = class
Public Class DashStyles
繼承
DashStyles

備註

下圖顯示套用至底線的不同虛線樣式範例。

顯示數種不同的虛線樣式。

XAML 文字使用方式

您無法在 XAML 中宣告這個 Managed 類別,但您可以使用其靜態屬性在 XAML 中指派值。

屬性

Dash

取得 DashStyle 屬性等於 2, 2Dashes

DashDot

取得 DashStyle 屬性等於 2, 2, 0, 2Dashes

DashDotDot

取得 DashStyle 屬性等於 2, 2, 0, 2, 0, 2Dashes

Dot

取得 DashStyle 屬性等於 0, 2Dashes

Solid

取得具有空白 DashStyle 屬性的 Dashes

適用於

另請參閱