CacheMode Property

UIElement.CacheMode Property


Gets or sets a cached representation of the UIElement.

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

public CacheMode CacheMode { get; set; }

Property Value

Type: System.Windows.Media.CacheMode

A CacheMode that holds a cached representation of the UIElement.

Set the CacheMode property when you need to increase performance for content that is time consuming to render. For more information, see BitmapCache.

.NET Framework
Available since 4.0
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft