Shape.Stroke 屬性

定義

取得或設定 Brush ,指定繪製 圖形 外框的方式。

public:
 property Brush ^ Stroke { Brush ^ get(); void set(Brush ^ value); };
Brush Stroke();

void Stroke(Brush value);
public Brush Stroke { get; set; }
var brush = shape.stroke;
shape.stroke = brush;
Public Property Stroke As Brush
<shape Stroke="{StaticResource resourceName}"/>
- or -
<shape Stroke="colorString"/>
- or -
<shape>
  <shape.Stroke>singleBrush</shape.Stroke>
</shape>

屬性值

Brush,指定繪製圖形外框的方式。 預設值是 null。

適用於

另請參閱