Value (Setter)

Silverlight

Gets or sets the value to set the styled property with.

<Setter ...>
  <Setter.Value>
    objectValue
  </Setter.Value>
</Setter>
-or-
<Setter Value="attributeValue"/>

objectValue

An object element that specifies the value of the property being set.

attributeValue

A string that specifies the attribute value of the property being set. The format and interpretation of the string provided for the attribute value depends on the property that is being set.

The value to set the styled property with. For more information, see Remarks.

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

Silverlight 2

Community Additions

ADD
Show: