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.

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

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

See also