Windows Dev Center

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.

MediaPlayer.CloneCore Method

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 override void CloneCore(
	Freezable sourceFreezable
)

Parameters

sourceFreezable
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft