FreezableCollection<T>.CloneCurrentValue Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Creates a modifiable copy of this FreezableCollection<T> and its contents, making deep copies of this object's current values. If this object (or the objects it contains) contains animated dependency properties, their current animated values are copied.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public FreezableCollection<T> CloneCurrentValue()

Return Value

Type: System.Windows.FreezableCollection<T>

A modifiable clone of the collection and its contents. The cloned object's IsFrozen property will be false even if the source's IsFrozen property was true.

This method shadows the inherited Freezable.CloneCurrentValue method with a strongly typed implementation for convenience.

.NET Framework
Available since 3.0
Return to top