Shape.StrokeThickness Property


Gets or sets the width of the Shape stroke outline.

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

 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


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

Applies to