ResourceDictionary

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents a collection of resource objects. In JavaScript API, this collection is limited to containing storyboards that are used for animations.

<ResourceDictionary   ...>
  oneOrMoreNamedStoryboards
</ResourceDictionary>

XAML Values

Value

Description

oneOrMoreNamedStoryboards

One or more Storyboard object elements. Each Storyboard object element must specify a unique Name or x:Name attribute value.

Managed Equivalent

ResourceDictionary

Remarks

In the JavaScript API for Silverlight, the only useful content of a ResourceDictionary object is one or more Storyboard objects. Each Storyboard must have a Name or x:Name value, and each name value must be unique in the containing namescope. Also, the ResourceDictionary object element is typically omitted, in favor of using the implicit collection syntax implied by the content type of the UIElement.Resources property element. Instead, you specify one or more Storyboard elements as content of a UIElement.Resources property element.

See Also

Reference