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