Style (UIElement)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets or sets an instance of the Style class that is applied for the current object during rendering.
<object ...>
<object.Style>
singleStyle
</object.Style>
</object>
value = object.Style
object.Style = value
XAML Values
Value |
Description |
---|---|
singleStyle |
A single Style instance that is defined inline. |
Remarks
This property is not typically used in scripting. Styles have significant restrictions in the JavaScript API for Silverlight.
Version Information
Silverlight 2