c# - 未能从文本 'Windows.UI.Xaml.Controls.Primitives.PlacementMode' 创建 '鼠标'

标签 c# windows-8 app-store microsoft-metro

嘿,我只是 windows 8 商店应用程序的新开发者。这是我遇到的一个问题,即使我已尽力寻找答案。但我找不到解决方案。我希望有人能帮助我。

我只是想在windows 8上开发一个测试应用程序,但是当我打开floder Common中的文件“StandardStyle.xaml”时,Visual Studio报告错误:“无法创建'Windows.UI.Xaml .Controls.Primitives.PlacementMode' 来自文本'鼠标'"。

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

最佳答案

在“StandardStyle.xaml”中,替换:

<ToolTipService.Placement>鼠标</ToolTipService.Placement>

与:

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

工具提示服务。 Placement只能是底部左侧鼠标右侧顶部。它不应该在 Microsoft 端自动翻译。我在法语中遇到了与 Souris 一词相同的问题,我不得不手动将其更改为 Mouse

关于c# - 未能从文本 'Windows.UI.Xaml.Controls.Primitives.PlacementMode' 创建 '鼠标',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13152998/

相关文章:

c# - Windows 8 快捷方式磁贴未显示

iphone - 向 iTunesConnect 中发布的新 iOS 应用程序版本添加新设备要求

c# - WPF 将 ViewModel 属性绑定(bind)到附加属性

windows-8 - Windows 8 Live Tile 的定期更新

c# - 在统一网格内拖放项目

windows-8 - 什么是 Postgresql 中的创建用户和创建角色?

ios - 禁用应用程序安装但允许在 iOS 设备上升级

iphone - 提交到AppStore时如何确定iPhone/iPad目标和iOS版本?

c# - 从另一个应用程序中运行的 FarPoint Spread 控件获取数据

c# - 如何使用 c# 对 excel 单元格的背景颜色使用无填充?