WPF加载微调 [英] wpf loading spinner
本文介绍了WPF加载微调的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
的目的是显示该应用程序正在工作中的信息。所以我在寻找使用WPF / MVVM加载微调的智能执行样本。
The goal is to display the information that the application is working. So I'm looking for an intelligent implementation sample of a loading spinner using wpf / mvvm.
任何暗示是值得欢迎的。
Any hint is welcome.
推荐答案
我写这个的用户控件可能有所帮助,它会与一个进度条旋转来显示它当前所加载的东西显示消息。
I wrote this user control which may help, it will display messages with a progress bar spinning to show it is currently loading something.
<ctr:LoadingPanel x:Name="loadingPanel"
IsLoading="{Binding PanelLoading}"
Message="{Binding PanelMainMessage}"
SubMessage="{Binding PanelSubMessage}"
ClosePanelCommand="{Binding PanelCloseCommand}" />
它有一对夫妇,你可以绑定到基本属性。
It has a couple of basic properties that you can bind to.
这篇关于WPF加载微调的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文