FreezableCollection<T>.CloneCurrentValueCore(Freezable) Method

Definition

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

C#
protected override void CloneCurrentValueCore(System.Windows.Freezable source);

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also