Source. Freeze Core(Boolean) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Makes an instance of BitmapSource or a derived class immutable.
protected: override bool FreezeCore(bool isChecking);
protected override bool FreezeCore (bool isChecking);
override this.FreezeCore : bool -> bool
Protected Overrides Function FreezeCore (isChecking As Boolean) As Boolean
true if this instance should actually freeze itself when this method is called; otherwise,
true, this method returns
true if this Animatable can be made unmodifiable, or
false if it cannot be made unmodifiable.
false, this method returns
true if the if this Animatable is now unmodifiable, or
false if it cannot be made unmodifiable, with the side effect of having begun to change the frozen status of this object.