DrawingAttributes.Width Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the width of the stylus that is used to draw a Stroke.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<DrawingAttributes Width="double"/>
Property Value
Type: System.DoubleThe width of the stylus that is used to draw a Stroke. The default is 2 logical pixels.
The following code example demonstrates how to set the Width property. This is part of a larger example available in DrawingAttributes class overview.
Show: