Share via


DebugSettings.IsOverdrawHeatMapEnabled Property

Definition

Gets or sets a value that enables a debug setting that visualizes overdraw operations. This visualization is useful during application development for detecting layout, animation, and other operations that are graphics processing intensive.

public:
 property bool IsOverdrawHeatMapEnabled { bool get(); void set(bool value); };
bool IsOverdrawHeatMapEnabled();

void IsOverdrawHeatMapEnabled(bool value);
public bool IsOverdrawHeatMapEnabled { get; set; }
var boolean = debugSettings.isOverdrawHeatMapEnabled;
debugSettings.isOverdrawHeatMapEnabled = boolean;
Public Property IsOverdrawHeatMapEnabled As Boolean

Property Value

Boolean

bool

true to enable the visualization, otherwise, false.

Remarks

Use this property as a debugging aid to visibly detect areas of the UI where applying a CacheMode for textures might be useful. For more info, see "Cache static content" section of Optimize your XAML markup.

OnLaunched is a good place to change DebugSettings values.

Applies to

See also