我希望[]图像显示为我的光标?

时间:2014-09-09 15:28:03

标签: image windows-runtime windows-store-apps winrt-xaml custom-cursor

我正在开发WinRT / XAML Windows应用商店应用。 我想将curson /指针更改为从dot更改为[]。 后来我想给光标提供图像。

我该怎么做?

1 个答案:

答案 0 :(得分:0)

有关于在Windows应用商店应用中使用自定义光标文件的文章,如下所示:

CustomCursors in Windows 8 CSharp Metro Applications。要点是你需要创建一个将拥有光标资源的本机dll。

然后,您可以使用附加属性将特定控件的光标设置为in the FrameworkElementExtensions.Cursor property here

相关问题