Style (UIElement)

Silverlight

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

Value

Description

singleStyle

A single Style instance that is defined inline.

Type: Style

A Style object.

This property is read/write.

This property is not typically used in scripting. Styles have significant restrictions in the JavaScript API for Silverlight.

Silverlight 2

Community Additions

ADD
Show: