Timeline.FreezeCore Method (Boolean)

 

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

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

override FreezeCore : 
        isChecking:bool -> bool

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
Available since 3.0
Return to top
Show: