Redigera

Dela via


FreezableCollection<T>.CloneCurrentValueCore(Freezable) Method

Definition

Makes this instance a modifiable clone (deep copy) of the specified FreezableCollection<T> using current property values.

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

Parameters

source
Freezable

The FreezableCollection<T> 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.

Notes to Inheritors

See the CloneCurrentValueCore(Freezable) page for information about when you should override this method.

Applies to

See also