DrawingAttributes.OutlineColor Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the outline color that is used to draw a Stroke.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<DrawingAttributes OutlineColor="colorString"/>
XAML Values
Property Value
Type: System.Windows.Media.ColorThe outline color of the stylus that is used to draw a Stroke. The default is Black.
For information about the colors that you can use, see Color.
The outline color is 1 logical pixel wide, which makes the rendered stroke 2 logical pixels wider.
The following code example demonstrates how to set the OutlineColor property. This is part of a larger example available in DrawingAttributes class overview.