SolidColorBrush.applyToElement Method

Applies this brush to an element.
 

Parameters

element

Type: HTMLElement
The element to apply the brush to.
propertyName

Type: String
The CSS property to set. If omitted, the color will be applied to the background.