简体   繁体   English

UWP-RadialProgressBar内的图像

[英]UWP - Image inside RadialProgressBar

I want to show a image inside the RadialProgressBar circle when progressing. 我想在进度时在RadialProgressBar圆圈内显示图像。 How can I set image inside RadialProgressBar circle? 如何在RadialProgressBar圆内设置图像? Please help Thank you. 请帮忙谢谢。

If you mean the RadialProgressBar in CommunityToolkit. 如果您是指CommunityToolkit中的RadialProgressBar See the source code here on github. 看到源代码, 这里在GitHub上。 Copy and paste the code to your project. 复制代码并将其粘贴到您的项目中。 Modify the XAML here to add the image in the centor of the grid, then you can add this new control to your project. 此处修改XAML 以将图像添加到网格的中心,然后可以将此新控件添加到项目中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM