PointKeyFrameCollection.GetAsFrozenCore Method

Makes this instance a clone of the specified PointKeyFrameCollection object.

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

protected override void GetAsFrozenCore(
	Freezable sourceFreezable
)
You cannot use methods in XAML.

Parameters

sourceFreezable
Type: System.Windows.Freezable

The PointKeyFrameCollection object to clone.

When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values. Note that if these properties contain resource references or data bindings, GetAsFrozen will fail when trying to freeze the object and will throw an InvalidOperationException.

This method is called by the GetAsFrozen method 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 GetAsFrozen instead of calling this method directly.

For more information, see Freezable.GetAsFrozenCore.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft