Sets the specified property to the specified value.
DependencyObject.SetValue - note that in the managed API, this method is exclusively for dependency properties, and requires a dependency property identifier (not just a name as a string).
You can also use SetValue to set the value of Silverlight attached properties such as Canvas.Left. In this case, the attached property name consists of the owner class name for the attached property, a dot, and the attached property name: object.SetValue("ownerType.propertyName",value). Attached properties also support a more direct property syntax, in the form object["ownerType.propertyName"] = value.
BitmapImage (Silverlight 2)
Border (Silverlight 2)
DeepZoomImageTileSource (Silverlight 2)
DiscreteObjectKeyFrame (Silverlight 2)
MultiScaleImage (Silverlight 2)
ObjectAnimationUsingKeyFrames (Silverlight 2)
ObjectKeyFrameCollection (Silverlight 2)
PasswordBox (Silverlight 2)
Popup (Silverlight 2)
StackPanel (Silverlight 2)
TextBox (Silverlight 2)