Shape.Stroke Shape.Stroke Shape.Stroke Shape.Stroke Property

Definition

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

public:
 property System::Windows::Media::Brush ^ Stroke { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush Stroke { get; set; }
member this.Stroke : System.Windows.Media.Brush with get, set
Public Property Stroke As Brush
Property Value

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

Remarks

Dependency Property Information

Identifier field StrokeProperty
Metadata properties set to true AffectsMeasure, AffectsRender, SubPropertiesDoNotAffectRender

Applies to