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.
Assembly: System.Windows (in System.Windows.dll)
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 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.
Note: |
|---|
Colored regions show textures that are passed to the GPU for acceleration. |
Important Note:
Note: