MediaPlayer.CloneCore Method (Freezable)


Makes this instance a deep copy of the specified MediaPlayer. When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

Protected Overrides Sub CloneCore (
	sourceFreezable As Freezable


Type: System.Windows.Freezable

The MediaPlayer to clone.

This method is called by the Clone method and should not be called directly from your code, except when calling the base implementation while overriding this method. To create a modifiable copy of the current object, call Clone instead of calling this method directly.

For more information, see Freezable.CloneCore.

.NET Framework
Available since 3.0
Return to top