Jaa


Shape.Stroke Property

Definition

Gets or sets the Brush that specifies how the Shape outline is painted.

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>

Property Value

A Brush that specifies how the Shape outline is painted. The default is null.

Applies to

See also