Freezable.GetCurrentValueAsFrozen Method ()
Creates a frozen copy of the Freezable using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference.
Assembly: WindowsBase (in WindowsBase.dll)
The following table summarizes the differences between the GetAsFrozen and methods.
GetAsFrozen method behavior
GetCurrentValueAsFrozen method behavior
Copying a dependency property that has an expression
The current value of the expression is copied, but not the expression itself.
Copying an animated dependency property
The property's base (non-animated) value is copied. Animations are not copied.
The property's current animated value is copied. Animations are not copied.
Note that unset properties are not copied, nor are read-only properties.
Notes to Inheritors:
This method uses the virtual GetCurrentValueAsFrozenCore method to produce the clone.
Available since 3.0