Share via

Shape.Fill Property


Gets or sets the Brush that paints the interior area of the shape.

 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 -

Property Value

A Brush that paints/fills the shape interior. The default is null, (a null brush) which is evaluated as Transparent for rendering.

Applies to

See also