修改.NET MAUI控件的图形
我有什么办法可以修改UI控制元素的绘制方式? 我正在使用目前仅用于使用毛伊岛开关控件的Windows桌面的应用程序。但是,将开关用文本框绘制到侧面,无法修改开关的边框颜色或删除侧面的文本,如下所示:
。
当前的交换机仅允许更改背景和点颜色。我似乎无法将头缠绕在绘制整个开关对象的内容上,以及需要对其进行修改以使开关在较暗的背景上更加突出。
Is there any way for me to modify how a UI Control Element is draw?
I am working on an app currently only for windows desktops where I am using the Switch Control from MAUI. However the switches are drawn with a textbox to the side and no way of modifying the border color of the switch or removing the text on the side as seen here:
.
The currently implementation of Switches only allow for changing of the background and the dot colors. I cant seem to wrap my head around what is drawing the entire switch object and where I would need to modify it to make the switch stand out more on a darker background.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论