Timeline.FreezeCore Method

Makes this Timeline unmodifiable or determines whether it can be made unmodifiable.

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

protected override bool FreezeCore(
	bool isChecking
)

Parameters

isChecking
Type: System.Boolean

true to check if this instance can be frozen; false to freeze this instance.

Return Value

Type: System.Boolean
If isChecking is true, this method returns true if this instance can be made read-only, or false if it cannot be made read-only.
If isChecking is false, this method returns true if this instance is now read-only, or false if it cannot be made read-only, with the side effect of having begun to change the frozen status of this object.

Do not call this method directly (except when calling base in an implementation). This method is called internally by Freeze.

Notes to Implementers

Timeline implementers must override this method when the class contains data that is not stored using dependency properties.

A typical implementation would call base, then call the static Freeze method on all Freezable typed properties that the class contains, returning true only if all properties were frozen (or could have been frozen, in the case of passing through a false value for isChecking).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft