Pen.DashCap 屬性

定義

取得或設定值,這個值指定如何繪製每條虛線的端點。Gets or sets a value that specifies how the ends of each dash are drawn.

public:
 property System::Windows::Media::PenLineCap DashCap { System::Windows::Media::PenLineCap get(); void set(System::Windows::Media::PenLineCap value); };
public System.Windows.Media.PenLineCap DashCap { get; set; }
member this.DashCap : System.Windows.Media.PenLineCap with get, set
Public Property DashCap As PenLineCap

屬性值

PenLineCap

指定如何繪製每條虛線的端點。Specifies how the ends of each dash are drawn.

這個設定會套用至每一虛線的兩端點。This setting applies to both ends of each dash. 預設值是 SquareThe default value is Square.

備註

相依性屬性資訊Dependency Property Information

識別碼欄位Identifier field DashCapProperty
中繼資料屬性設定為 trueMetadata properties set to true None

適用於