Redigera

Dela via


ObjectKeyFrameCollection.CloneCore(Freezable) Method

Definition

Makes this instance a deep copy of the specified ObjectKeyFrameCollection. 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.

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

Parameters

sourceFreezable
Freezable

The ObjectKeyFrameCollection to clone.

Remarks

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.

Applies to