老鼠 [英] Mouse

查看:74
本文介绍了老鼠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我想改变我的指针颜色黄金或类似的东西,我不记得怎么做。

解决方案

Hello SugarM ,


Window IoT Core不支持更改光标。我们只能在Windows桌面上更改光标。


在桌面上,您可以通过设置更改光标  CoreWindow.PointerCursor Property ,如下面的代码。

 Window.Current。 CoreWindow.PointerCursor = 
new Windows.UI.Core.CoreCursor(Windows.UI.Core.CoreCursorType.Hand,1);

您也可以在UWP的桌面上使用自定义光标,请参阅
博客
。我在windwos iot核心上测试了上面的代码,它无法改变指针,但它适用于桌面。


最好的问候,


迈克尔


Hi I want to change my pointer to the color gold or something similar and I don't remember how to do it.

解决方案

Hello SugarM,

Window IoT Core does not supports changing the cursor on . We can only change the cursor on windows desktop.

On desktop, you can change cursor through setting CoreWindow.PointerCursor Property, like following code.

Window.Current.CoreWindow.PointerCursor = 
    new Windows.UI.Core.CoreCursor(Windows.UI.Core.CoreCursorType.Hand, 1);

You can also use custom cursor on desktop in UWP, please see this blog. I have testes the above code on windwos iot core, it could not change the pointer,but it works on desktop.

Best Regards,

Michael


这篇关于老鼠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆