Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Shape.Stroke Property

Definition

Namespace:
System.Windows.Shapes
Assembly:
PresentationFramework.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

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

Applies to


Feedback

Was this page helpful?