Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Color Property (SolidColorBrush)

Gets or sets the color of this SolidColorBrush.

XAML
<object Color="Color" .../>
Scripting
value = object.Color
object.Color = value

Property Value

Color

The brush's color.

This property is read/write. The default value is null, which is evaluated as Transparent.

Remarks

For a list of colors, and the script and XAML usages for all properties that take a Color, see Color.

Applies To

SolidColorBrush

See Also

XAML Syntax Overview
Silverlight Brushes Overview

Community Additions

Show:
© 2015 Microsoft