FreezableCollection<T>.GetCurrentValueAsFrozenCore(Freezable) Method

Definition

Makes this instance a frozen clone of the specified Freezable. If this object has animated dependency properties, their current animated values are copied.

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

Parameters

source
Freezable

The FreezableCollection<T> to copy.

Remarks

This method is called by GetCurrentValueAsFrozen and should not be called directly from your code, except when calling the base implementation while overriding this method. To create a frozen copy of the current object, call GetCurrentValueAsFrozen instead of calling this method directly.

Notes to Inheritors

For information about when to override this method, see GetCurrentValueAsFrozenCore(Freezable).

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