Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UIElement.CacheMode Property


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

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
© 2018 Microsoft