Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DoubleKeyFrameCollection.GetAsFrozenCore Method

Makes this instance a clone of the specified DoubleKeyFrameCollection object.

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

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

Parameters

sourceFreezable

The DoubleKeyFrameCollection object to clone and freeze.

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

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

Community Additions

Show:
© 2014 Microsoft