Shape.StrokeThickness Property

Definition

Gets or sets the width of the Shape stroke outline.

Equivalent WinUI property: Microsoft.UI.Xaml.Shapes.Shape.StrokeThickness.

public:
 property double StrokeThickness { double get(); void set(double value); };
double StrokeThickness();

void StrokeThickness(double value);
public double StrokeThickness { get; set; }
var double = shape.strokeThickness;
shape.strokeThickness = double;
Public Property StrokeThickness As Double
<object StrokeThickness="double"/>

Property Value

Double

The width of the Shape outline, in pixels. The default value is 0.

Applies to