Purpose of Storyboard.TargetProperty - Silverlight

Explain the purpose of Storyboard.TargetProperty

Using Storyboard.TargetProperty, the properties of an object can be assigned with values. The objects are referred by Storyboard.TargetName attribute.

The following snippet illustrates the change of width and color of a rectangle object.
<DoubleAnimation Storyboard.TargetName="MyRectangle" Storyboard.TargetProperty="Width" From="150" To="275" Duration="0:0:2" />

<ColorAnimation Storyboard.TargetName="MySolidColorBrush" Storyboard.TargetProperty="Color" From="Green" To="Red" Duration="0:0:2" />
Why is XAP important? - Silverlight
Why is XAP important? - Using XAP, Silverlight applications which are heavily client based can be created by managing code. The managed code...
How does XAP work? - Silverlight
How does XAP work? - The .xap file is used for transferring and containing the assemblies and resources of an application with managed code. This code must be written within the Silverlight browser plugin...
Use of ClientBin folder in Silverlight
Use of ClientBin folder in Silverlight - The ClientBin folder is used for placing .xap file of a Silverlight application. This folder can be kept anywhere in the web application...
Post your comment