Shape.Fill 屬性

定義

取得或設定繪製圖形內部區域的 Brush

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

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

屬性值

繪製/填滿圖形內部的 筆刷 。 預設值為 null, (null 筆刷) 評估為 透明 以進行轉譯。

適用於

另請參閱