2012-10-31 17 views
3

嘿,我只是一個Windows 8商店應用程序的新開發者。這是我遇到的一個問題,即使通過我盡力搜索答案。但我找不到解決辦法。我希望有人能幫助我。無法從文字'鼠標'創建'Windows.UI.Xaml.Controls.Primitives.PlacementMode'

我只是想在Windows 8上開發一個測試應用程序,但是當我打開文件「StandardStyle.xaml」時,這個文件在Common.The Visual Studio中報告錯誤:「無法創建Windows.UI。 Xaml.Controls.Primitives.PlacementMode'從文本'鼠標'「。

我是中國人,所以文字是中文。

回答

1

在 「StandardStyle.xaml」,替換:

<ToolTipService.Placement>鼠標</ToolTipService.Placement> 

有了:

<ToolTipService.Placement>Mouse</ToolTipService.Placement> 

ToolTipService。 Placement只能底部鼠標。它不應該在微軟方面自動翻譯。我在法語中遇到了同樣的問題,字詞Souris,我不得不手動更改爲Mouse

+0

我已經解決了這個問題給你建議g。謝謝。 – KevinKong