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.

Settings.EnableCacheVisualization Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a value that indicates whether to use a non-production analysis visualization mode, which shows areas of a page that are not being GPU accelerated with a colored overlay. Do not use in production code.

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

public bool EnableCacheVisualization { get; set; }

Property Value

Type: System.Boolean
true if cache visualization is enabled; otherwise, false.

During profiling and performance tuning phases of application development, you can set EnableCacheVisualization to true to produce an overlay visualization of the areas in your UI that are being hardware accelerated.

Important noteImportant Note:

Do not enable cache visualization in production code.

To visualize areas in your UI that are GPU accelerated, you must also enable GPU acceleration and set the cache mode for specific objects. Set EnableGPUAcceleration to true to enable GPU acceleration.

To set the cache mode, set the UIElement.CacheMode property on specific objects that might invoke the GPU acceleration path for rendering.


Colored regions show textures that are passed to the GPU for acceleration.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone