DebugSettings.IsOverdrawHeatMapEnabled 屬性

定義

取得或設定值,這個值會啟用視覺化過度繪製作業的偵錯設定。 此視覺效果在應用程式開發期間很有用,可偵測大量圖形處理的版面配置、動畫和其他作業。

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

屬性值

Boolean

bool

true 表示啟用視覺效果,否則為 false

備註

使用此屬性做為偵錯協助工具,可明顯偵測套用 快取Mode 紋理的區域可能很有用。 如需詳細資訊,請參閱 優化 XAML 標記的一節。

OnLaunched 是變更 DebugSettings 值的好位置。

適用於

另請參閱