簡體   English   中英

Windows Phone 7模擬器是否顯示水印?

[英]Does The Windows Phone 7 Emulator Show A Watermark?

Windows Phone 7仿真器是否在顯示屏的右上角顯示水印?

起初我認為它可能是嵌套網格沒有正確重疊並在右上方創建一個薄的垂直列視覺垃圾。 但是在創建一個新項目並放大兩個垃圾區域后,結果證明它們是數字。

現有項目: "000 000 000006 001 000 00.0000"
新的空項目: "000 000 003296 002 001 00.0967"

這些是什么? 有沒有辦法禁用他們的知名度?

這些是用於測量性能的幀速率計數器。 細節在這里。

Jeff Wilcox - Windows Phone中的幀速率計數器

該帖子還顯示了如何禁用其顯示。

在App.xaml.cs的App構造函數中生成代碼。 注釋掉這些行,如下所示:

public App()
{
  UnhandledException += Application_UnhandledException;

  // Uncomment to show graphics profiling information while debugging.
  if (System.Diagnostics.Debugger.IsAttached)
  {
    // Display the current frame rate counters.
    //Application.Current.Host.Settings.EnableFrameRateCounter = true;

    // Show the areas of the app that are being redrawn in each frame.
    //Application.Current.Host.Settings.EnableRedrawRegions = true;

    // Enable non-production analysis visualization mode, 
    // which shows areas of a page that are being GPU accelerated with a colored overlay.
    //Application.Current.Host.Settings.EnableCacheVisualization = true;
  }

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM