Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaElement.Attributes Property

Silverlight

Gets the collection of attributes that corresponds to the current entry in the ASX file that Source is set to.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public Dictionary<string, string> Attributes { get; }

Property Value

Type: System.Collections.Generic.Dictionary<String, String>
The collection of attributes that corresponds to the current entry in the ASX file that Source is set to.

JavaScript API Notes

In the JavaScript API, this property returns a dedicated MediaAttributes collection that in turn contains MediaAttribute objects, rather than the dictionary of strings returned by the managed API.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft