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}"/>

Property Value

Brush

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

Applies to

See also