如何更改光标颜色 [英] how to change the cursor color
本文介绍了如何更改光标颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
请告诉我如何在wpf
解决方案
您可以创建一个新的cur文件,其中包含图像和作为窗口光标的集合。
Cursor = new 光标( FileNameHere);
Hi all
Please tell me how to change the default cursor color to some other color in wpf
解决方案
You can create a new cur file with the image and the set that as cursor for the window.
Cursor = new Cursor("FileNameHere");
这篇关于如何更改光标颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文