Upraviť

Zdieľať cez


MediaPlayer.CloneCurrentValueCore(Freezable) Method

Definition

Makes this instance a modifiable deep copy of the specified MediaPlayer using current property values. Resource references, data bindings, and animations are not copied, but their current values are.

protected:
 override void CloneCurrentValueCore(System::Windows::Freezable ^ sourceFreezable);
protected override void CloneCurrentValueCore (System.Windows.Freezable sourceFreezable);
override this.CloneCurrentValueCore : System.Windows.Freezable -> unit
Protected Overrides Sub CloneCurrentValueCore (sourceFreezable As Freezable)

Parameters

sourceFreezable
Freezable

The MediaPlayer to clone.

Remarks

This method is called by the CloneCurrentValue 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 CloneCurrentValue instead of calling this method directly.

For more information, see Freezable.CloneCurrentValueCore.

Applies to

See also