Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MediaElement.Attributes Property

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.

Community Additions

Show:
© 2015 Microsoft