BitmapSource.CloneCurrentValueCore Method (Freezable)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Makes this instance a modifiable deep copy of the specified BitmapSource using current property values. Resource references, data bindings, and animations are not copied, but their current values are.

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

protected override void CloneCurrentValueCore(
	Freezable sourceFreezable


Type: System.Windows.Freezable

The BitmapSource to clone.

This method is called by the CloneCurrentValue method and should not be called directly from your code, except when you call the base implementation while overriding this method. To create a modifiable copy of the current object, call CloneCurrentValue instead of calling this method directly.

For more information, see Freezable.CloneCurrentValueCore.

.NET Framework
Available since 3.0
Return to top