Assembly: System.Windows (in System.Windows.dll)
Dependency property identifier field: SourceNameProperty
The name is the Name or x:Name of a MediaElement as defined in XAML markup. To set the value in code at run time, make sure to get the Name property of the MediaElement rather than attempting to set to a MediaElement instance. Note that the Name of the MediaElement must already be defined in initial XAML; declaring a Name at run-time does not retroactively make the name available to XAML usages that attempt to refer to that name.