Shape.Stroke 屬性

定義

取得或設定 Brush,指定如何繪製 Shape 外框。

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

屬性值

Brush

指定如何繪製 Shape 外框的 Brush。 預設為 null

備註

相依性屬性資訊

識別碼欄位 StrokeProperty
設定為 的中繼資料屬性 true AffectsMeasureAffectsRenderSubPropertiesDoNotAffectRender

適用於