BitmapCache.Clone Method

.NET Framework 4.6 and 4.5

Creates a modifiable clone of the BitmapCache, making deep copies of the object's values. When copying the object's dependency properties, this method copies expressions (which might no longer resolve) but not animations or their current values.

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

public BitmapCache Clone()

Return Value

Type: System.Windows.Media.BitmapCache
A modifiable clone of the current object. The cloned object's IsFrozen property is false even if the source's IsFrozen property is true.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

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