This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ